]> git.ipfire.org Git - thirdparty/git.git/commit - builtin.h
worktree: new place for "git prune --worktrees"
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Mon, 29 Jun 2015 12:51:18 +0000 (19:51 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Jun 2015 15:48:44 +0000 (08:48 -0700)
commitdf0b6cfbda88144714541664fb501146d6465a82
tree9acade77a77e010352979754ed9427b0b3ca9f1a
parente1c1ab9d25864e8de0009f3f3149ec4386a14bf8
worktree: new place for "git prune --worktrees"

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>
.gitignore
Documentation/git-prune.txt
Documentation/git-worktree.txt [new file with mode: 0644]
Makefile
builtin.h
builtin/gc.c
builtin/prune.c
builtin/worktree.c [new file with mode: 0644]
command-list.txt
git.c
t/t2026-prune-linked-checkouts.sh