chiark
/
gitweb
/
~richardk
/
vcs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5be4da0
)
For some reason 'git show' doesn't accept '--' to separate options
author
Richard Kettlewell
<rjk@greenend.org.uk>
Wed, 22 Jun 2011 21:58:57 +0000 (22:58 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Wed, 22 Jun 2011 21:58:57 +0000 (22:58 +0100)
from positional arguments, so 'vcs show' shouldn't supply it.
src/git.cc
patch
|
blob
|
history
diff --git
a/src/git.cc
b/src/git.cc
index
d5d90e6
..
366c253
100644
(file)
--- a/
src/git.cc
+++ b/
src/git.cc
@@
-223,7
+223,6
@@
public:
int show(const char *change) const {
return execute("git",
EXE_STR, "show",
- EXE_STR, "--",
EXE_STR, change,
EXE_END);
}