git commit -a reports untracked files after a clone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx>
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@xxxxxxxx>
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@xxxxxxx
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 ...
_______________________________________________________________

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]