summaryrefslogtreecommitdiff
path: root/Documentation/git-merge-index.txt
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-03-12 13:24:10 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-03-12 13:26:06 -0400
commit756d846fea4ac4b3bf0a0aea9fbf721138cf34cc (patch)
treee0cbc534cdc234e788f9be69344736d42c74615f /Documentation/git-merge-index.txt
parentgit-gui: Revert "git-gui: Display all authors of git-gui." (diff)
downloadtgif-756d846fea4ac4b3bf0a0aea9fbf721138cf34cc.tar.xz
git-gui: Allow 'git gui version' outside of a repository
I got a little surprise one day when I tried to run 'git gui version' outside of a Git repository to determine what version of git-gui was installed on that system. Turns out we were doing the repository check long before we got around to command line argument handling. We now look to see if the only argument we have been given is 'version' or '--version', and if so, print out the version and exit immediately; long before we consider looking at the Git version or working directory. This way users can still get to the git-gui version number even if Git's version cannot be read. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'Documentation/git-merge-index.txt')
0 files changed, 0 insertions, 0 deletions