Browse Source

vcs_update: use `git rebase` instead of `git merge`

Signed-off-by: Alejandro Mery <amery@geeks.cl>
master
Alejandro Mery 10 years ago
parent
commit
7744ff21e3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      files/bin/vcs_update

+ 1
- 1
files/bin/vcs_update

@ -29,7 +29,7 @@ update_git() {
remote=`git config "branch.${branch}.remote"` remote=`git config "branch.${branch}.remote"`
merge=`git config "branch.${branch}.merge"` merge=`git config "branch.${branch}.merge"`
git merge -q --stat --ff "$remote/${merge##refs/heads/}"
git rebase -q "$remote/${merge##refs/heads/}"
if $staged; then if $staged; then
git stash pop -q git stash pop -q
git status -s git status -s

Loading…
Cancel
Save