diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-08-04 04:25:20 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-08-04 04:25:20 +0200 |
commit | 44690eb345ff5b7396166e625a2c7285b72d584e (patch) | |
tree | 99ab0bfaaee23944dfe02337e4f1ec3870b3db26 /make/git.mk | |
parent | 5d8259826f728e536b250fe6e1aca8e79967ec71 (diff) | |
parent | 5687e0cc45858e2215a9f110d3d6d21b98b6ffd4 (diff) |
Merge branch 'master' into clean
Diffstat (limited to 'make/git.mk')
-rw-r--r-- | make/git.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make/git.mk b/make/git.mk index 0059448..072617e 100644 --- a/make/git.mk +++ b/make/git.mk @@ -13,8 +13,8 @@ noncurrentbranches = $(filter-out $(currentbranch),$(branches)) update: git fetch $(origin) $(if $(filter $(currentbranch),$(master)),,git branch -f "$(master)" "$(origin)/$(master)" && git checkout "$(master)") - git merge --no-commit "$(origin)" - $(if $(noncurrentbranches),$(foreach branch,$(noncurrentbranches),git branch -f "$(branch)" "$(origin)/$(branch)" && git checkout "$(branch)" && git merge --no-commit "$(origin)" &&) git checkout "$(master)") + git pull "$(origin)" + $(if $(noncurrentbranches),$(foreach branch,$(noncurrentbranches),git branch -f "$(branch)" "$(origin)/$(branch)" && git checkout "$(branch)" && git pull "$(origin)" &&) git checkout "$(master)") init: git init |