chiark / gitweb /
Use 'git-pull' rather than 'git-fetch' by default
authorCatalin Marinas <catalin.marinas@gmail.com>
Sat, 3 Feb 2007 22:21:57 +0000 (22:21 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 21 Feb 2007 22:38:47 +0000 (22:38 +0000)
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
examples/gitconfig
stgit/config.py

index 4e775fc5d452dbc96aa7be320dd6fafc13eb1b17..c61f119c3cba1597edffdab09c754d446476fa96 100644 (file)
 
        # GIT pull command (should take the same arguments as
        # git-fetch or git-pull).  By default:
-       #pullcmd = git-fetch
-       #pull-does-rebase = yes
-       # Alternative (old behaviour), less intuitive but maybe useful
-       # for some workflows:
        #pullcmd = git-pull
        #pull-does-rebase = no
+       # Alternative (StGIT does the rebasing):
+       #pullcmd = git-fetch
+       #pull-does-rebase = yes
 
        # The three-way merge tool. Note that the 'output' file contains the
        # same data as 'branch1'. This is useful for tools that do not take an
index fb3893253ee6be43f2e117c2cf9257b3453e978f..1c5306b64cbaa3d05f05af8789e025285d005117 100644 (file)
@@ -29,8 +29,8 @@ class GitConfig:
         'stgit.autoresolved':  'no',
         'stgit.smtpserver':    'localhost:25',
         'stgit.smtpdelay':     '5',
-        'stgit.pullcmd':       'git-fetch',
-        'stgit.pull-does-rebase': 'yes',
+        'stgit.pullcmd':       'git-pull',
+        'stgit.pull-does-rebase': 'no',
         'stgit.merger':                'diff3 -L current -L ancestor -L patched -m -E ' \
                                '"%(branch1)s" "%(ancestor)s" "%(branch2)s" > "%(output)s"',
         'stgit.autoimerge':    'no',