summaryrefslogtreecommitdiff
path: root/Documentation/git-describe.txt
diff options
context:
space:
mode:
authorLibravatar Shawn Bohrer <shawn.bohrer@gmail.com>2008-04-14 22:14:09 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-04-14 23:14:58 -0700
commitf2d0df7148a1b9ee69bd69a365ffcd1965872451 (patch)
tree744c03640836faf926e71766b030faab7942203f /Documentation/git-describe.txt
parentgit-submodule - possibly use branch name to describe a module (diff)
downloadtgif-f2d0df7148a1b9ee69bd69a365ffcd1965872451.tar.xz
git clean: Don't automatically remove directories when run within subdirectory
When git clean is run from a subdirectory it should follow the normal policy and only remove directories if they are passed in as a pathspec, or -d is specified. The fix is to send len which could be shorter than ent->len because we have stripped the trailing '/' that read_directory adds. Additionaly match_one() was modified to allow a name[] that is not NUL terminated. This allows us to check if the name matched the pathspec exactly instead of recursively. Signed-off-by: Shawn Bohrer <shawn.bohrer@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-describe.txt')
0 files changed, 0 insertions, 0 deletions