X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-pull.sh;h=d8b64d7a67a19f1821a26c3ec82c0953db717be6;hb=96ec7b1e708863d0cd6b8e72a986d6f0a1bb64db;hp=9868a0bfb478707b361f664a252870b3d1939138;hpb=e72c1dd3bd3b6b2255707136348628a99d3b74a5;p=git.git diff --git a/git-pull.sh b/git-pull.sh index 9868a0bfb..d8b64d7a6 100755 --- a/git-pull.sh +++ b/git-pull.sh @@ -44,6 +44,10 @@ merge_args= curr_branch=$(git symbolic-ref -q HEAD) curr_branch_short="${curr_branch#refs/heads/}" rebase=$(git config --bool branch.$curr_branch_short.rebase) +if test -z "$rebase" +then + rebase=$(git config --bool pull.rebase) +fi dry_run= while : do