git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-diff & cg-diff behavior difference

From
VLVincent Legoll <vincent.legoll@gmail.com>
Date
Dec 17, 2006, 17:11 UTC
Message-ID
<4727185d0612170911l52fab839x694399db729fd62d@mail.gmail.com>
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.

Next: Vincent Legoll
Message 1 of 3 in “git-diff & cg-diff behavior difference”
  1. Vincent LegollDec 17, 2006
  2. Vincent LegollDec 19, 2006
  3. Vincent LegollDec 19, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.