git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Keep committer and committer dates

From
Nicolas Pitre <nico@cam.org>
Date
Jun 4, 2008, 14:22 UTC
Message-ID
<alpine.LFD.1.10.0806041015270.23581@xanadu.home>
In-Reply-To
<Pine.LNX.4.61.0806041424140.1798@tm8103-a.perex-int.cz>
On Wed, 4 Jun 2008, Jaroslav Kysela wrote:
Show 23 quoted lines
> On Wed, 4 Jun 2008, Jakub Narebski wrote:
> 
> > Karl Hasselstr?m <kha@treskal.com> writes:
> > 
> > > On 2008-06-04 11:16:46 +0200, Jaroslav Kysela wrote:
> > > 
> > > > On Tue, 3 Jun 2008, Johannes Schindelin wrote:
> > > >
> > > > > That feels really funny, given that the guy running git-am _is_
> > > > > the committer, not whoever provided some extra headers to the
> > > > > mailbox.
> > > >
> > > > Yes, the implementatation does not make sense for public patch
> > > > handling, but if you do various things locally with git-rebase or
> > > > git-am (pack picking from another repo), you may consider it useful.
> > > 
> > > But still, you're creating new commits, so they should have your name
> > > on them.
> > 
> > Yes, if you are _creating_ *commits*, then you are *committer*, isn't it?
> 
> I agree with that, but if you just manage patches and you want to keep 
> commit history and change only hash numbers, it's an option. Nothing else. 

Then the person performing that reshuffling _becomes_ the new committer for those commits with new hash numbers. Why would you like to hide that fact?

> It's just tool extension and users have to cleverly decide if it's worth 
> to use it or not.

I think this is against the purpose of the committer field to preserve it from a commit that was not made by you. What really really has to be preserved is the author field of course. But attributing commit action to someone else than yourself when you are the one reorganizing commits is misrepresentation.

> I just used in for my work.
Could you explain what your reason is for doing so?
Nicolas
Previous: Jaroslav KyselaNext: Johannes Schindelin
Message 7 of 20 in “Keep committer and committer dates”
  1. Keep committer and committer datesJaroslav Kysela, Jun 3, 2008
  2. Johannes SchindelinJun 3, 2008
  3. Jaroslav KyselaJun 4, 2008
  4. Karl HasselströmJun 4, 2008
  5. Jakub NarebskiJun 4, 2008
  6. Jaroslav KyselaJun 4, 2008
  7. Nicolas PitreJun 4, 2008
  8. Johannes SchindelinJun 4, 2008
  9. Stephan BeyerJun 5, 2008
  10. Johannes SchindelinJun 5, 2008
  11. Junio C HamanoJun 5, 2008
  12. Johannes SixtJun 5, 2008
  13. Jaroslav KyselaJun 5, 2008
  14. Johannes SchindelinJun 5, 2008
  15. Jaroslav KyselaJun 5, 2008
  16. Johannes SchindelinJun 5, 2008
  17. Jaroslav KyselaJun 5, 2008
  18. Johannes SchindelinJun 5, 2008
  19. Jaroslav KyselaJun 5, 2008
  20. Boaz HarroshJun 5, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.