diff-tree: fix and extend argument parsing
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 18 May 2005 20:10:17 +0000 (13:10 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 18 May 2005 20:10:17 +0000 (13:10 -0700)
commit0a8365a179685feecee427075a9c2db8a66c434a
treeac93c346a870b1d340f108242e23f566d1cd5417
parentb11645be0139f907488b17ca4267e593ee58dd30
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).
diff-tree.c