chiark
/
gitweb
/
~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
588a741
)
Use --diff rather than --patch in log.py
author
Catalin Marinas
<catalin.marinas@gmail.com>
Thu, 2 Oct 2008 22:11:12 +0000
(23:11 +0100)
committer
Catalin Marinas
<catalin.marinas@gmail.com>
Thu, 2 Oct 2008 22:11:12 +0000
(23:11 +0100)
In a few places in this file options.diff is used already.
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/log.py
patch
|
blob
|
blame
|
history
diff --git
a/stgit/commands/log.py
b/stgit/commands/log.py
index 39cdfe7dd6442ffd590e7ae4f3aa9d03dfc52b19..3370e6c6db34e4727f91fae92cb76b3350bbcc36 100644
(file)
--- a/
stgit/commands/log.py
+++ b/
stgit/commands/log.py
@@
-43,7
+43,7
@@
args = [argparse.patch_range(argparse.applied_patches,
options = [
opt('-b', '--branch', args = [argparse.stg_branches],
short = 'Use BRANCH instead of the default one'),
- opt('-
p', '--patch
', action = 'store_true',
+ opt('-
d', '--diff
', action = 'store_true',
short = 'Show the refresh diffs'),
opt('-n', '--number', type = 'int',
short = 'Limit the output to NUMBER commits'),