~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Seamlessly allow diffs "from" the current working directory
[stgit]
/
stgit
/
commands
/
diff.py
diff --git
a/stgit/commands/diff.py
b/stgit/commands/diff.py
index
6a730ee
..
5645eca
100644
(file)
--- a/
stgit/commands/diff.py
+++ b/
stgit/commands/diff.py
@@
-64,8
+64,6
@@
def func(parser, options, args):
elif rev_list_len == 2:
rev1 = rev_list[0]
rev2 = rev_list[1]
- if rev2 == '':
- rev2 = 'HEAD'
else:
parser.error('incorrect parameters to -r')
else: