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

Re: [PATCH] Keep committer and committer dates

From
Jaroslav Kysela <perex@perex.cz>
Date
Jun 5, 2008, 12:44 UTC
Message-ID
<Pine.LNX.4.61.0806051428390.1798@tm8103-a.perex-int.cz>
In-Reply-To
<4847917A.2050700@viscovery.net>
On Thu, 5 Jun 2008, Johannes Sixt wrote:
Show 18 quoted lines
> Johannes Schindelin schrieb:
> > Hi,
> > 
> > On Thu, 5 Jun 2008, Stephan Beyer wrote:
> > 
> >>> - as has been pointed out several times now, you _are_ the committer, 
> >>>   and you seem to want to lie there.
> >> Lying is already possible with GIT_COMMITTER_{NAME,EMAIL,NAME} 
> >> environment variables.
> > 
> > Of course it is possible!  I even pointed to a method!
> > 
> > The _point_ was that we do not want to recommend it.  And giving prominent 
> > support for it, such as introducing a command line parameter, _would_ 
> > have the effect of recommending it.
> 
> Furthermore, if you mess with committer dates, you can screw up revision
> walking to some degree. committer dates aren't merely informational.

Of course, you can find many reasons to not use this function. I just used the proposed function when we migrated from HG to GIT to rebase with actual Linus's tree without touching commiters (because I've not changed patches itself).

Also, having a possibility to easy remove a changeset (hardly - not revert) without touching all other changesets on top is a function worth to include. With --committer parameter, it can be easily implemented using git-format-patch & git-am. And before you complain, yes, I know - it should be used only localy before the repository is published to others.

** I take GIT as a tool to manage repositories and it has already many low-level commands/parameters. My proposal was an extension to them. If there are not real technical reasons agains, it should go in. Users have to decide about useability for their cases. I saw only "political" comments that it's evil to do so in some (most of) cases. End of my opinion. **

						Jaroslav

----- Jaroslav Kysela <perex@perex.cz> Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.

Previous: Johannes SixtNext: Johannes Schindelin
Message 13 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.