Permalink
Browse files

Make it possible to use creatediff without arguments; just pick the l…

…ast tag.
  • Loading branch information...
1 parent c1a9abd commit a1e420400ce6766e4fbdc5a77e1cd0d728a55108 Ed Schouten committed Jun 11, 2007
Showing with 4 additions and 1 deletion.
  1. +4 −1 creatediff
View
@@ -3,7 +3,10 @@
from="herrie-$1"
to="master"
-if [ $# = 2 ]
+if [ $# = 0 ]
+then
+ from="`git tag -l | tail -n 1`"
+elif [ $# = 2 ]
then
to="herrie-$2"
elif [ $# != 1 ]

0 comments on commit a1e4204

Please sign in to comment.