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 /tree-diff.c | |
| parent | c6127856eb318157121b0aeab150c074e9eeb3de (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 <spearce@spearce.org>
Diffstat (limited to 'tree-diff.c')
0 files changed, 0 insertions, 0 deletions
