From: "Franck Bui-Huu" <vagabon.xyz@gmail.com>
To: "Git Mailing List" <git@vger.kernel.org>
Subject: git commit broken ?
Date: Mon, 10 Apr 2006 10:02:44 +0200 [thread overview]
Message-ID: <cda58cb80604100102p92e5258qf33a128f75f1b088@mail.gmail.com> (raw)
It seems that "git commit -a -c ORIG_HEAD" command do not work as
expected.
Here is an example:
$ ls
a b c
$ git status
nothing to commit
$ echo "good modif" > a
$ echo "temp modif" > c
$ git-update-index a
$ git commit -m "work in prog"
$ git reset --soft HEAD^
$ git status
#
# Updated but not checked in:
# (will commit)
#
# modified: a
#
#
# Changed but not updated:
# (use git-update-index to mark for commit)
#
# modified: c
#
$ 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 ?
My git version:
$ git --version
git version 1.3.0.rc3.g0ed4
Thanks
--
Franck
next reply other threads:[~2006-04-10 8:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-10 8:02 Franck Bui-Huu [this message]
2006-04-10 8:15 ` git commit broken ? Junio C Hamano
2006-04-10 8:24 ` Franck Bui-Huu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cda58cb80604100102p92e5258qf33a128f75f1b088@mail.gmail.com \
--to=vagabon.xyz@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox