| author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
| Wed, 18 May 2005 20:10:17 +0000 (13:10 -0700) | ||
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
| Wed, 18 May 2005 20:10:17 +0000 (13:10 -0700) | ||
| commit | 0a8365a179685feecee427075a9c2db8a66c434a | |
| tree | ac93c346a870b1d340f108242e23f566d1cd5417 | tree | snapshot |
| parent | b11645be0139f907488b17ca4267e593ee58dd30 | commit | diff |
diff-tree: fix and extend argument parsing
We use "--" to mark end of command line switches, not "-". Also,
allow more flexibility in the passed-in sha1 names, in that a
single sha1 uses the "commit-diff" logic that compares against
its parent(s).
We use "--" to mark end of command line switches, not "-". Also,
allow more flexibility in the passed-in sha1 names, in that a
single sha1 uses the "commit-diff" logic that compares against
its parent(s).
| diff-tree.c | diff | blob | history |