diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2015-06-29 19:51:18 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-29 08:48:44 -0700 |
commit | df0b6cfbda88144714541664fb501146d6465a82 (patch) | |
tree | 9acade77a77e010352979754ed9427b0b3ca9f1a /builtin.h | |
parent | e1c1ab9d25864e8de0009f3f3149ec4386a14bf8 (diff) | |
download | git-df0b6cfbda88144714541664fb501146d6465a82.tar.gz |
worktree: new place for "git prune --worktrees"nd/multiple-work-trees
Commit 23af91d (prune: strategies for linked checkouts - 2014-11-30)
adds "--worktrees" to "git prune" without realizing that "git prune" is
for object database only. This patch moves the same functionality to a
new command "git worktree".
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Diffstat (limited to 'builtin.h')
-rw-r--r-- | builtin.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -133,6 +133,7 @@ extern int cmd_verify_commit(int argc, const char **argv, const char *prefix); extern int cmd_verify_tag(int argc, const char **argv, const char *prefix); extern int cmd_version(int argc, const char **argv, const char *prefix); extern int cmd_whatchanged(int argc, const char **argv, const char *prefix); +extern int cmd_worktree(int argc, const char **argv, const char *prefix); extern int cmd_write_tree(int argc, const char **argv, const char *prefix); extern int cmd_verify_pack(int argc, const char **argv, const char *prefix); extern int cmd_show_ref(int argc, const char **argv, const char *prefix); |