summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-08-07 23:31:57 -0700
committerJunio C Hamano <gitster@pobox.com>2009-08-22 12:15:57 -0700
commit76e2f7ce323c7ddb3a7c29e56407da6a69a4fa53 (patch)
tree922dfee385cc2f184f59286c5c80eb566b01ceb4 /builtin.h
parent3fa509dfbdb8526453f4213f79b371bdfa493f0e (diff)
downloadgit-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 'builtin.h')
-rw-r--r--builtin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index 20427d2963..eeaf0b6cf5 100644
--- a/builtin.h
+++ b/builtin.h
@@ -95,6 +95,7 @@ extern int cmd_send_pack(int argc, const char **argv, const char *prefix);
extern int cmd_shortlog(int argc, const char **argv, const char *prefix);
extern int cmd_show(int argc, const char **argv, const char *prefix);
extern int cmd_show_branch(int argc, const char **argv, const char *prefix);
+extern int cmd_stat(int argc, const char **argv, const char *prefix);
extern int cmd_status(int argc, const char **argv, const char *prefix);
extern int cmd_stripspace(int argc, const char **argv, const char *prefix);
extern int cmd_symbolic_ref(int argc, const char **argv, const char *prefix);