diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-08-07 23:31:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-08-22 12:15:57 -0700 |
commit | 76e2f7ce323c7ddb3a7c29e56407da6a69a4fa53 (patch) | |
tree | 922dfee385cc2f184f59286c5c80eb566b01ceb4 /git.c | |
parent | 3fa509dfbdb8526453f4213f79b371bdfa493f0e (diff) | |
download | git-76e2f7ce323c7ddb3a7c29e56407da6a69a4fa53.tar.gz |
git stat: the beginning of "status that is not a dry-run of commit"
Tentatively add "git stat" as a new command.
This is not "preview of commit with the same arguments"; the path parameters
are not paths to be added to the pristine index (aka "--only" option), but
are taken as pathspecs to limit the output. Later in 1.7.0 release, it will
take over "git status".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -350,6 +350,7 @@ static void handle_internal_command(int argc, const char **argv) { "shortlog", cmd_shortlog, USE_PAGER }, { "show-branch", cmd_show_branch, RUN_SETUP }, { "show", cmd_show, RUN_SETUP | USE_PAGER }, + { "stat", cmd_stat, RUN_SETUP | NEED_WORK_TREE }, { "status", cmd_status, RUN_SETUP | NEED_WORK_TREE }, { "stripspace", cmd_stripspace }, { "symbolic-ref", cmd_symbolic_ref, RUN_SETUP }, |