diff-index --cached on bare repository

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

 



Hi list,

today I stumbled over the output of "git diff-index --cached HEAD" in a 
bare repository. While diff-index HEAD just reminds me that I got to 
have a work-tree, --cached outputs all the files in HEAD as deleted. The 
question is if this is intended behaviour? Or is it irrelevant because 
diff-index is only plumbing? I found a mail of the gitk-team working 
around this, which is funny because I discovered this while working on 
GitX.

So please, enlighten me ;)

Greetings,
Jojo

-- 
Johannes Gilger <heipei@xxxxxxxxxxxx>
http://hackvalue.de/heipei/
GPG-Key: 0x42F6DE81
GPG-Fingerprint: BB49 F967 775E BB52 3A81  882C 58EE B178 42F6 DE81

--
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]

  Powered by Linux