Nguyen Thai Ngoc Duy <pclouds@xxxxxxxxx> writes: > git log -p and diff family all can take pathspecs. All default to > tree-wide without pathspecs. This is what I'm doing all the time: > > git diff > # checking, ok, looks good > git add -u > # ack, need to come to root dir first Not to mention "git status", which shows everything in the tree when given no args, but will only show changes underneath the cwd if given "." as an argument. I agree that the "default to root of git dir when given no args" behavior seems both more convenient -- it's annoying to specify the root of the tree explicitly, but very easy to specify the cwd explicitly (".") -- and more intuitive -- If I want "everything underneath cwd", I'll naturually specify "." as an argument; if I give no args, I almost certainly want the whole tree, no matter where I happen to be in it. -Miles -- Christian, n. One who follows the teachings of Christ so long as they are not inconsistent with a life of sin. -- 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