summaryrefslogtreecommitdiff
path: root/git-diff-script
AgeCommit message (Collapse)AuthorFilesLines
2005-07-14Make "git diff" use git-sh-setup-script too..Libravatar Linus Torvalds1-0/+2
Give a sane error rather than just silently claiming no diffs when you're not at the top-level directory.
2005-07-06Use the new git-rev-parse "--[no-]flags" in "git diff".Libravatar Linus Torvalds1-2/+3
This allows you to do git diff v2.6.12..v2.6.13-rc1 drivers/pcmcia to see the diff between v2.6.12 and v2.6.13-rc1 as limited by the filename argument.
2005-06-17Use "-M" instead of "-C" for "git diff" and "git status"Libravatar Linus Torvalds1-3/+3
The "C" in "-C" may stand for "Cool", but it's also pretty slow, since right now it leaves all unmodified files to be tested even if there are no new files at all. That just ends up being unacceptably slow for big projects, especially if it's not all in the cache.
2005-06-17Don't use -C in "git diff"Libravatar Linus Torvalds1-3/+3
Right now it confuses at least git-diff-files, since it leaves all the files (whether changed or not) in the diff queue.
2005-06-14Trivial git script fixupsLibravatar Linus Torvalds1-3/+3
Fix permissions, and add trivial "reset" and "add" scripts. The "reset" script just resets the index back to head, while the "add" script is just a crutch for people used to do "cvs add".
2005-06-13Add "git diff" scriptLibravatar Linus Torvalds1-0/+16
It's a simple helper that depending on the arguments will either use git-diff-files, git-diff-cache or git-diff-tree.