Commit Graph

5 Commits

Author SHA1 Message Date
Bruno Pinto
9cc8ee5a82 Stash does not support --git-dir
Stash is a shell script that does not support `--git-dir`, not even on
latest versions. We need to use `git -C` which was only added on recent
versions of `git`.

`omf update` will fail in case omf need needs to run `git stash` and
git is not compatible.
2015-10-02 21:16:50 +01:00
jeremiejig
56b1d837e0 changing to git -C to git --git-dir work-tree 2015-09-27 18:53:51 +02:00
jeremiejig
5cdde2639a bin/install & omf.repo.pull adding -C $git_dir removing pushd and popd 2015-09-27 18:53:51 +02:00
Bruno Pinto
61f71f3ce8 Replace omf.update with omf.repo.pull
- Pull repository from origin unless upstream exist.
2015-09-06 21:32:26 -03:00
Bruno Pinto
af49d6f1c2 Replace omf.util_sync with omf.repo.pull
Based on
https://github.com/Homebrew/homebrew/blob/master/Library/Homebrew/cmd/update.rb#L175-L221
2015-09-07 00:11:12 +01:00