git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Adding a commit message to the index
@ 2010-09-19  0:48 Cameron Hutchison
  2010-09-19  1:29 ` Joshua Juran
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Cameron Hutchison @ 2010-09-19  0:48 UTC (permalink / raw)
  To: git

Is it possible to add a commit message to the index, and have it used as
the final commit message, or as the template for the final commit
message?

Witnessing AKPM's ongoing efforts on linux-kernel to get better commit
messages out of people, it seems it would be beneficial to be able to
stage a commit message and refine it over the course of the development
of the commit. The first cut is rarely the best, so being able to refine
a commit message as one can refine a commit by incrementally using the
index seems like a good idea.

I know I can use git-commit -F and store my commit message outside of
git, but it would be nice to have it in the index with the code it
comments on. That would make the commit and the message stay together
with git-stash for example. Apply this to other index-modifying
operations too.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-19 13:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-19  0:48 Adding a commit message to the index Cameron Hutchison
2010-09-19  1:29 ` Joshua Juran
2010-09-19 12:19 ` Ævar Arnfjörð Bjarmason
2010-09-19 13:38 ` Jakub Narebski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).