Re: Rebase/cherry-picking idea
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Nov 26, 2007, 12:51 UTC
- Message-ID
- <474AC136.8060906@viscovery.net>
- In-Reply-To
- <CDF48716-F198-4B33-A5F5-8A2DE1F177EB@wincent.com>
Wincent Colaiuta schrieb:
Show 12 quoted lines
> El 26/11/2007, a las 12:27, Wincent Colaiuta escribió: >> So I think that misleading noise needs to be suppressed or reworded >> when rebasing. Will look into it. > > How about something like this? It would obviously be nice if we could > avoid adding another option to builtin-revert; perhaps when/if > git-rebase becomes a builtin we can avoid that. The other alternative, > and probably one I like I bit more, would be to auto-detect that a > rebase is in progress by looking inside the GIT_DIR, although that would > also alter the behaviour of manual invocations of git-revert and > git-cherry-pick during an interactive rebase (do people actually do > that?). What do you think?
Introduce an environment variable _GIT_CHERRY_PICK_HELP (note the leading underscore), which git-rebase sets; if it's set, git-cherry-pick uses that text instead of the usual one.
-- Hannes