path: root/lib
diff options
authorShawn O. Pearce <>2007-05-09 02:36:01 (GMT)
committerShawn O. Pearce <>2007-05-09 02:36:01 (GMT)
commit3e45ee1ef268c73539903f89c737af89034d391f (patch)
tree798d9cbedcbea70e62d072bd74ff7f76da1d57ee /lib
parentc6127856eb318157121b0aeab150c074e9eeb3de (diff)
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 <>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions