summaryrefslogtreecommitdiff
path: root/builtin/checkout.c
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2018-08-31 02:33:17 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-31 11:49:51 -0700
commitad51743007d408ba6f1f670126d57722bb397ce6 (patch)
treeeed9b91c5848bc41dbd1d18ef824723ea1851b90 /builtin/checkout.c
parentdoc-diff: fix non-portable 'man' invocation (diff)
downloadtgif-ad51743007d408ba6f1f670126d57722bb397ce6.tar.xz
doc-diff: add --clean mode to remove temporary working gunk
As part of its operation, doc-diff creates a bunch of temporary working files and holds onto them in order to speed up subsequent invocations. These files are never deleted. Moreover, it creates a temporary working tree (via git-wortkree) which likewise never gets removed. Without knowing the implementation details of the tool, a user may not know how to clean up manually afterward. Worse, the user may find it surprising and alarming to discover a working tree which s/he did not create explicitly. To address these issues, add a --clean mode which removes the temporary working tree and deletes all generated files. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/checkout.c')
0 files changed, 0 insertions, 0 deletions