diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-05-08 22:36:01 -0400 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-05-08 22:36:01 -0400 |
commit | 3e45ee1ef268c73539903f89c737af89034d391f (patch) | |
tree | 798d9cbedcbea70e62d072bd74ff7f76da1d57ee /lib/option.tcl | |
parent | git-gui: Use prefix if blame is run in a subdirectory (diff) | |
download | tgif-3e45ee1ef268c73539903f89c737af89034d391f.tar.xz |
git-gui: Smarter command line parsing for browser, blame
The browser subcommand now optionally accepts a single revision
argument; if no revision argument is supplied then we use the
current branch as the tree to browse. This is very common, so
its a nice option.
Our blame subcommand now tries to perform the same assumptions
as the command line git-blame; both the revision and the file
are optional. We assume the argument is a filename if the file
exists in the working directory, otherwise we assume the argument
is a revision name. A -- can be supplied between the two to force
parsing, or before the filename to force it to be a filename.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib/option.tcl')
0 files changed, 0 insertions, 0 deletions