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

Re: git commit broken ?

From
FBFranck Bui-Huu <vagabon.xyz@gmail.com>
Date
Apr 10, 2006, 08:24 UTC
Message-ID
<cda58cb80604100124k165307c3td84be984e607c6ae@mail.gmail.com>
In-Reply-To
<7vhd51alti.fsf@assigned-by-dhcp.cox.net>
2006/4/10, Junio C Hamano <junkio@cox.net>:
Show 19 quoted lines
> "Franck Bui-Huu" <vagabon.xyz@gmail.com> writes:
>
> > It seems that "git commit -a -c ORIG_HEAD" command do not work as
> > expected.
> >
> >       $ git commit -a -c ORIG_HEAD
> >       $ git status
> >       nothing to commit
> >
> > So it seems that c has been commmited this time...Is it the expected
> > behaviour ?
>
> You said "git commit -a" to tell it to commit all your changes
> in your working tree, using "-c ORIG_HEAD" which means "take the
> commit log message and authorship information from that commit".
>
> So I do not understand what else, other than both a and c
> getting committed (hence subsequent "git status" to report
> "nothing to commit'), you are expecting...
oops, I forgot that switch, sorry for the noise.
Thanks
--
               Franck
Previous: Junio C Hamano
Message 3 of 3 in “git commit broken ?”
  1. Franck Bui-HuuApr 10, 2006
  2. Junio C HamanoApr 10, 2006
  3. Franck Bui-HuuApr 10, 2006

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.