Re: stg pull/rebase

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Catalin Marinas
Date: Tuesday, June 10, 2008 - 3:02 am

2008/6/7 Karl Hasselström <kha@treskal.com>:

This would need some clean-up indeed or maybe better documentation.
They might be a bit difficult and I have to look at the code from time
to time. However, I found some these policies useful. For example, I
just do a "stg pull" from a Subversion repository with the config
below:

[stgit]
        pull-policy = fetch-rebase
        fetchcmd = git svn fetch
        rebasecmd = git svn rebase


I still find "rebase" useful and use it in some situations when I
don't need a pull. As Jakub mentioned, maybe we could keep the
"rebase" functionality outside of the "pull" command (make it part of
Stack with a corresponding Branch.rebase?) and have "rebase" use it.


OK.


But "pull" always suggests fetching something. Adding "--rebase" would
mean that it doesn't fetch. Shouldn't we leave this functionality to
"rebase" only?


These are OK, with the comment on have rebase functionality in "rebase" only.


OK.


I don't use it either but there might be people that have complicated
configurations and they mix Git commits with StGIT patches. Not sure
though.

-- 
Catalin
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
stg pull/rebase, Karl , (Sat Jun 7, 10:22 am)
Re: stg pull/rebase, Jakub Narebski, (Sat Jun 7, 10:41 am)
Re: stg pull/rebase, Karl , (Sat Jun 7, 12:08 pm)
Re: stg pull/rebase, Catalin Marinas, (Tue Jun 10, 3:02 am)
Re: stg pull/rebase, Karl , (Tue Jun 10, 3:42 am)
Re: stg pull/rebase, Catalin Marinas, (Tue Jun 10, 8:43 am)
Re: stg pull/rebase, Karl , (Tue Jun 10, 11:11 pm)
Re: stg pull/rebase, Catalin Marinas, (Wed Jun 11, 10:00 am)
Re: stg pull/rebase, Karl , (Wed Jun 11, 12:07 pm)