git-diff & cg-diff behavior difference

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

 



I did not find something relevant in the docs, so I'll ask here.

git-diff works from everywhere in the tree, whereas cg-diff
does not, is that intentional ?

steps to reproduce:
--------------------
mkdir tmp
cd tmp
touch titi.txt
mkdir tutu
touch tutu/toto.txt
cg-init -I
cg-add -r .
cg-commit -C -m INIT
echo "tata" > titi.txt
git-diff
cg-diff
cd tutu
git-diff
cg-diff
--------------------

The 2 git-diff & 1st cg-diff outputs are the same, whereas the 2nd
cg-diff one is empty...

Quite a minor thing, but this could be added in the cg-diff man-page as a
difference of behavior.

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