Florent Rougon 3099633675 download_and_compile.sh: fix the order of operations in _gitUpdate()
_gitUpdate() used to call 'git pull' then 'git checkout'. If the latter
command really did a branch switch, this could leave the local branch
behind its remote counterpart (that was hopefully fetched by the
'git pull'). From now on, we do:

  git fetch origin
  git checkout --force "$branch"
  git pull --rebase

(the --force option was already there before in the form of -f). This
way, we can be sure that the local branch we check out is up-to-date
when the function returns.

Also replace short options by long ones for better readability of the
code, and use Bash's [[ ... ]] conditional construct instead of [ ... ]
for more efficiency---I think.

Note: 'git stash save' is documented as deprecated in favor of
      'git stash push', however the latter appears to have been
      introduced in 2017, therefore I believe it is too early to use it
      in download_and_compile.sh.
2020-06-29 15:23:53 +02:00
2019-03-25 18:20:43 +01:00
2016-12-09 14:56:33 +00:00
2019-01-01 14:50:49 -06:00
2018-03-16 10:29:57 +00:00
2020-06-15 12:33:58 +01:00
2014-09-07 23:39:40 +02:00
Description
No description provided
6.7 MiB
Languages
Python 55.2%
Shell 30.7%
Batchfile 5.9%
Inno Setup 4.3%
Ruby 2.2%
Other 1.7%