git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git commit -a reports untracked files after a clone
@ 2011-05-15  0:46 Philipp Metzler
  2011-05-15  3:43 ` Junio C Hamano
  0 siblings, 1 reply; 13+ messages in thread
From: Philipp Metzler @ 2011-05-15  0:46 UTC (permalink / raw)
  To: git

Hi,

I have a problem with git on OS X 10.6.7

5102c6173c5a1c683dfdd8ccd07528adddd51745 is the first bad commit

SHA:	5102c6173c5a1c683dfdd8ccd07528adddd51745
Author:	Joshua Jensen <jjensen@workspacewhiz.com>
Date:	Sun Oct 03 2010 11:56:43 GMT+0200 (CEST)

This is how you can reproduce the problem:
1. clone a repo
2. run the command "git commit -a"

I would expect: nothing to commit (working directory clean)
Instead it reports: nothing added to commit but untracked files present (use "git add" to track)

Starting with commit 

SHA:	8c8674fc954d8c4bc46f303a141f510ecf264fcd
Author:	Jeff King <peff@peff.net>
Date:	Fri Mar 25 2011 19:13:31 GMT+0100 (CET)

the following behaviour can be observed when these three commands are run in this order:

1. git commit -a 
   nothing added to commit but untracked files present (use "git add" to track)
2. git status
   nothing to commit (working directory clean)
3. git commit -a
   nothing to commit (working directory clean)

So "git status" makes the untracked files "go away".

Cheers,

Philipp

_______________________________________________________________

DI Philipp Metzler
Goli.at GesbR.
Dorf Rieden 7/11
A-6900 Bregenz
EU - Austria

E-Mail: phil@goli.at
Skype: googol
Tel: +43 / 676 / 72 94 176
ICQ: 13950954

o www.philippmetzler.com - Softwareentwicklung und Websites mit Django und Typo3.
o www.goli.at - Ihr Speicherplatz im Netz. Messen Sie uns an unseren Daten.
o www.clickshopping.at - Wir bringen Ihre Produkte auf den Punkt.
o www.greencar.at - Elektroautos und mehr ...
_______________________________________________________________

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

end of thread, other threads:[~2011-10-06 16:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-15  0:46 git commit -a reports untracked files after a clone Philipp Metzler
2011-05-15  3:43 ` Junio C Hamano
2011-05-15  8:26   ` Philipp Metzler
2011-05-16 10:38     ` Jeff King
2011-05-16 10:49       ` Philipp Metzler
2011-05-16 12:08         ` Jeff King
2011-05-16 12:25           ` Philipp Metzler
2011-05-16 12:38           ` Philipp Metzler
2011-05-16 14:55             ` Jeff King
2011-05-27 18:00               ` Jeff King
2011-05-27 18:13                 ` Jeff King
2011-10-05 14:26                   ` Joerg Rosenkranz
2011-10-06 16:06                     ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).