Make 'stg pull' use git-fetch and not git-pull.
authorYann Dirson <ydirson@altern.org>
Wed, 31 Jan 2007 23:41:11 +0000 (23:41 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 31 Jan 2007 23:41:11 +0000 (23:41 +0000)
commit4cd6405eb66123eac7bc45f465900056243839c8
tree8c4c6e8257f78e50447cbe99b825612704838585
parent4f5a8c722ee88f9be891297353ae26f676bb0213
Make 'stg pull' use git-fetch and not git-pull.

We introduce a new pull-does-rebase setting, as companion to pullcmd.
This allows to use both pullcmd's that need a rebase (like git-fetch)
and pullcmd's that do not (like git-pull).

To be able to rebase, we rely on parent information being available
for the stack.

Signed-off-by: Yann Dirson <ydirson@altern.org>
examples/gitconfig
stgit/config.py
stgit/git.py