summaryrefslogtreecommitdiff
path: root/diff-tree.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-11 15:37:17 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-11 15:37:17 (GMT)
commitbf16c71e2f9fc9ca44273f7f4637dce194a49cce (patch)
treecc4cf7c0e5833fdfc4999d33d5b652afa4858bb9 /diff-tree.c
parent91af81a98ea5c5594c67a63abc933250e05c13c6 (diff)
downloadgit-bf16c71e2f9fc9ca44273f7f4637dce194a49cce.zip
git-bf16c71e2f9fc9ca44273f7f4637dce194a49cce.tar.gz
git-bf16c71e2f9fc9ca44273f7f4637dce194a49cce.tar.bz2
Fix up commit-tree/diff-tree user interface issues.
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.
Diffstat (limited to 'diff-tree.c')
-rw-r--r--diff-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-tree.c b/diff-tree.c
index 5cf6057..1960c23 100644
--- a/diff-tree.c
+++ b/diff-tree.c
@@ -180,7 +180,7 @@ int main(int argc, char **argv)
char *arg = argv[1];
argv++;
argc--;
- if (!strcmp(arg, "-R")) {
+ if (!strcmp(arg, "-r")) {
recursive = 1;
continue;
}