Git development
 help / color / mirror / Atom feed
* git commit broken ?
@ 2006-04-10  8:02 Franck Bui-Huu
  2006-04-10  8:15 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Franck Bui-Huu @ 2006-04-10  8:02 UTC (permalink / raw)
  To: Git Mailing List

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-10  8:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-10  8:02 git commit broken ? Franck Bui-Huu
2006-04-10  8:15 ` Junio C Hamano
2006-04-10  8:24   ` Franck Bui-Huu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox