Quoting Junio C Hamano <junkio@cox.net>: Subject: Re: [PATCH] have merge put FETCH_HEAD data in commit messageThis one would overwrite the authorship information though, would it not? I actually wished several times for an --amend-message commit flag that would only edit the message, preserving the author (and possibly date?) metadata. Of course, I simply copy the author and pass it in --author, but it's somewhat awkward to do. Do others notice this? *Maybe* git can be even smarter, and notice that only commit message has changed, and preserve the author automatically in this case? I haven't looked at how hard that would be to do. <rant> I actually find it awkward that author/summary information is never shown during git commit - sometimes one does git commit on a machine where GIT_AUTHOR_EMAIL has not been setup correctly, and the result often is mst@mst-desktop.(none). Or people sometimes forget that the first line will show up in the pretty=short summary and the result is that what ends up being there is just 2 first lines of the long description. One has to remember to always do git log --pretty=short after commit to verify that one did get these details right. Ideas: - Maybe have git-commit display shortlog summary for commit just created? - Maybe put Author: (or From:? and maybe Subject:?) line in the pre-formatted commit message, and let the user edit them? </rant> OK, I thought about this a bit - if the message includes a cover letter, I think it's also likely to have an incorrect subject too. So how about simply ignoring text before Subject:/From: lines? This makes more sense, for me, than inventing yet another git-specific convention. Does this for you? -- MST - 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
| Sean | Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation,pathname matching |
| Herbert Xu | Re: 2.6.23-rc4-mm1 |
| Miklos Szeredi | Re: [BUG] long freezes on thinkpad t60 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Matthieu Moy | Re: [RFC] Convert builin-mailinfo.c to use The Better String Library. |
| Guido Ostkamp | [PATCH] Fix Solaris Workshop Compiler issues |
| Shawn Pearce | Re: [RFC] Submodules in GIT |
| Imran M Yousuf | Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Marco Peereboom | Re: Real men don't attack straw men |
| patrick keshishian | SMTP flood + spamdb |
| Andrés Delfino | Re: bcw(4) is gone |
| Tilman Schmidt | Re: 2.6.25-rc8: FTP transfer errors |
| Denys Fedoryshchenko | SFQ depth limit |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| high memory | 16 hours ago | Linux kernel |
| semaphore access speed | 19 hours ago | Applications and Utilities |
| the kernel how to power off the machine | 20 hours ago | Linux kernel |
| Easter Eggs in windows XP | 23 hours ago | Windows |
| Shared swap partition | 1 day ago | Linux general |
| Root password | 1 day ago | Linux general |
| Where/when DNOTIFY is used? | 1 day ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 1 day ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 1 day ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 1 day ago | Linux general |
