summaryrefslogtreecommitdiff
path: root/diff-tree.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Make "diff-tree" have similar behaviour as "ls-tree" wrt line termination.Linus Torvalds2005-04-151-3/+10
| | | | | Default to the human-readable '\n', but make the scriptable "-z" flag do the old '\0' behaviour.
* [PATCH] Change diff-tree output formatPetr Baudis2005-04-131-2/+6
| | | | | | | | | | Changes diff-tree output format so that fields are separated by tabs instead of spaces (readibility, parseability), and tree entry type is listed along the entry (avoids having to figure that out from the mode in the scripts). This is what my scripts expect. Signed-off-by: Petr Baudis <pasky@ucw.cz>
* [PATCH] diff-tree usagePetr Baudis2005-04-131-1/+1
| | | | | | Fix diff-tree usage, since it takes -r instead of -R now. Signed-off-by: Petr Baudis <pasky@ucw.cz>
* [PATCH] Whitespace FixesIngo Molnar2005-04-131-1/+1
| | | | | | | | Trivial whitespace fixes. From: Ingo Molnar <mingo@elte.hu> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Petr Baudis <pasky@ucw.cz>
* [PATCH] Consolidate the error handlingPetr Baudis2005-04-131-6/+6
| | | | | | | Now there is error() for "library" errors and die() for fatal "application" errors. usage() is now used strictly only for usage errors. Signed-off-by: Petr Baudis <pasky@ucw.cz>
* Fix up commit-tree/diff-tree user interface issues.Linus Torvalds2005-04-111-1/+1
| | | | | | | No, this doesn't make them easy to use, but makes diff-tree use the "-r" flag for "recursive" (not "-R") and makes commit-tree use AUTHOR_xxx environment flags (not COMMITTER_xxx) to match what it actually does.
* Fix diff-tree recursion.Linus Torvalds2005-04-101-6/+53
| | | | | | And, perhaps more importantly, fix the fact that if a filename changed from a directory to a file (or vice versa), we must consider it a delete and an add, not a "filechange".
* Simplify "diff-tree" output, and only keep track of one single name-base.Linus Torvalds2005-04-101-24/+23
| | | | | | | | | | | During original development I had different name-bases for source and destination, so that I could make the output show how it got removed from "tree a" and added to "tree b", but we don't want that. We only do recursive diffs on anything where the bases are exactly the same, so we might as well just work with a single base. Also, make the output for "changed" be a single line, since people hated the separate '<' / '>' format. They were right. It sucked.
* Add "-R" flag to "diff-tree", so that it will recursively traverse a tree of ↵Linus Torvalds2005-04-101-21/+59
| | | | | | | | trees as it diffs them. This makes diff-tree usable again in the new world order.
* Add "diff-tree" program to show which files have changed between two trees.Linus Torvalds2005-04-091-0/+109
Very useful for creating diffs efficiently, and in general to see what has changed in the namespace.