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

Re: [PATCH] commit -c/-C/--amend: acquire authorship and restamp time with --claim

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 2, 2009, 00:47 UTC
Message-ID
<7vbpjlycqc.fsf@alter.siamese.dyndns.org>
In-Reply-To
<55bacdd30911011257m22ee85f2wc5d51865f7f2aadd@mail.gmail.com>
Erick Mattos <erick.mattos@gmail.com> writes:
Show 6 quoted lines
>>    % git commit --claim --author='Erick Mattos <eric@mattos>' -C HEAD
>>
>> Should you detect an error?  Does your code do so?  Do you have a test
>> that catches this error?
>
> It works as intended.  Both together.

That does not make any sense. If you are saying this is yours and it is his at the same time, there can be no sane way to work "as intended", no?.

Show 7 quoted lines
>>> +     git commit -c HEAD <<EOF
>>> +     "Changed"
>>> +     EOF &&
>>
>> What editor is reading this "Changed"?
>
> Nobody cares...  Just a text to change the file.

I actually care. Who uses that Changed string, and where does it end up with? At the end of the log message? At the beginning? What "file"?

Previous: Erick MattosNext: Erick Mattos
Message 7 of 13 in “commit -c/-C/--amend: take over authorship and restamp time with --claim”
  1. commit -c/-C/--amend: take over authorship and restamp time with --claimErick Mattos, Oct 31, 2009
  2. Junio C HamanoOct 31, 2009
  3. commit -c/-C/--amend: take over authorship and restamp time with --claimErick Mattos, Nov 1, 2009
  4. commit -c/-C/--amend: acquire authorship and restamp time with --claimErick Mattos, Nov 1, 2009
  5. Junio C HamanoNov 1, 2009
  6. Erick MattosNov 1, 2009
  7. Junio C HamanoNov 2, 2009
  8. Erick MattosNov 2, 2009
  9. Junio C HamanoNov 2, 2009
  10. Junio C HamanoNov 2, 2009
  11. Erick MattosNov 3, 2009
  12. Erick MattosNov 1, 2009
  13. commit -c/-C/--amend: reset timestamp and authorship to committer with --mineErick Mattos, Nov 2, 2009

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.