"Shawn O. Pearce" <spearce@spearce.org> writes:I don't either, which means I do not see a compelling reason to have underscore in front of that cherry-pick message environment either. About the patch itself, I think replacing the whole message, not just "and commit the result." part, might make more sense. help_message = getenv("_GIT_CHERRY_PICK_HELP"); fprintf(stderr, "Automatic %s failed. " "After resolving the conflicts,\n" "mark the corrected paths with 'git add <paths>' " "and %s.\n", me, help_message ? help_message : "commit the result"); if (action == CHERRY_PICK && !help_message) { fprintf(stderr, "When commiting, use the option " "'-c %s' to retain authorship and message.\n", find_unique_abbrev(commit->object.sha1, ... Some other caller can be written to guide the user resolving and do the "git add" part for the user, and "mark the corrected paths with 'git add <paths>'" may not suit the need for such a caller. Which would mean: help_message = getenv("GIT_CHERRY_PICK_HELP"); if (!help_message) { static char helpbuf[1024]; help_message = helpbuf; sprintf(help_message, " After resolving the conflits,\n" "mark the corrected paths with 'git add <paths>' " "and commit the result.\n" "When commiting, use the option " "'-c %s' to retain authorship and message.\n", find_unique_abbrev(commit->object.sha1, DEFAULT_ABBREV)); } fprintf(stderr, "Automatic %s failed.%s", help_message); exit(1); But I do not care too deeply either way. - 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
| Linus Torvalds | Re: [PATCH 00/23] per device dirty throttling -v8 |
| Andi Kleen | [PATCH x86] [0/16] Various i386/x86-64 changes |
| serge | Re: 2.6.25-rc5-mm1 |
| Kamalesh Babulal | [BUG] Linux 2.6.25-rc2 - Kernel Ooops while running dbench |
git: | |
| Francis Moreau | Track /etc directory using Git |
| Abdelrazak Younes | Git-windows and git-svn? |
| Johan Herland | Re: People unaware of the importance of "git gc"? |
| Scott Chacon | git-scm.com |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Richard Stallman | Real men don't attack straw men |
| Florin Andrei | firewall is very slow, something's wrong |
| qw er | OpenBSD sucks |
| David Miller | xfrm_state locking regression... |
| David Miller | [GIT]: Networking |
| Thomas Jarosch | Re: TCP connection stalls under 2.6.24.7 |
| Dave Jones | Re: odd RTL8139 quirk. |
