summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c672989)
raw | patch | inline | side by side (parent: c672989)
author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 9 Jul 2007 06:30:24 +0000 (02:30 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 9 Jul 2007 06:30:24 +0000 (02:30 -0400) |
We know that the version subcommand of git is special. It does not
currently have an executable link installed into $gitexecdir and we
therefore would never match it with one of our file exists tests.
So we forward any invocations to it directly to the git wrapper, as
it is a builtin within that executable.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
currently have an executable link installed into $gitexecdir and we
therefore would never match it with one of our file exists tests.
So we forward any invocations to it directly to the git wrapper, as
it is a builtin within that executable.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | patch | blob | history |
diff --git a/git-gui.sh b/git-gui.sh
index 9b342f08464c39d7096c987f3444772770962370..a3ac5daf14c3e57229d3d1dbea5bdee3c368fdb5 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
if {[catch {set v $_git_cmd_path($name)}]} {
switch -- $name {
+ version -
--version -
--exec-path { return [list $::_git $name] }
}