Package: git Version: 1:1.7.10.4-1 Severity: normal File: git-branch git branch creates directories under .git/refs/heads/* when creating a branch whose name includes a /, but deleting the last branch under such a directory does not delete the directory:
$ find .git/refs/heads/newdir find: `.git/refs/heads/newdir': No such file or directory $ git branch newdir/foo $ git branch newdir/bar $ find .git/refs/heads/newdir ..git/refs/heads/newdir ..git/refs/heads/newdir/foo ..git/refs/heads/newdir/bar $ git branch -D newdir/foo Deleted branch newdir/foo (was 6f0f9b6). $ git branch -D newdir/bar Deleted branch newdir/bar (was 6f0f9b6). $ find .git/refs/heads/newdir ..git/refs/heads/newdir - Josh Triplett -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages git depends on: ii git-man 1:1.7.10.4-1 ii libc6 2.13-35 ii libcurl3-gnutls 7.27.0-1 ii liberror-perl 0.17-1 ii libexpat1 2.1.0-1 ii perl-modules 5.14.2-13 ii zlib1g 1:1.2.7.dfsg-13 Versions of packages git recommends: ii less 444-4 ii openssh-client [ssh-client] 1:6.0p1-3 ii patch 2.6.1-3 ii rsync 3.0.9-3 Versions of packages git suggests: ii gettext-base 0.18.1.1-9 pn git-arch <none> pn git-cvs <none> pn git-daemon-run | git-daemon-sysvinit <none> pn git-doc <none> pn git-el <none> pn git-email <none> pn git-gui <none> ii git-svn 1:1.7.10.4-1 ii gitk 1:1.7.10.4-1 pn gitweb <none> -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

