Junio C Hamano <gitster@pobox.com> writes:Thanks. It certainly is not serious for the Linux kernel source, but seems awkward for quite a few situations. Anyway, what is your take on the situation I described? That creating some directory hierarchy (happening to contain empty directories) with some external program, adding and committing it, then switching to a different branch (or maybe doing a git-reset --hard) leaves a skeleton of empty directories around? I find this almost worse than not being able to put them into the repository: you can't get rid of them anymore either! I'd be tempted to propose that git should remove empty subdirectories when cleaning up a removed tree in the working directory, even though that violates the principle to not delete anything it isn't tracking. But since you can't get it to track the stuff in the first place... But the real fix would be to track them. Does some trick work possibly at checkin time, like putting an empty file into every empty directory, adding to the index, then removing all empty files explicitly from the index and then checking in, or is this hopeless to work around with from the user side without affecting the repository itself? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| David Woodhouse | Re: [PATCH] bnx2 - use request_firmware() |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Zdenek Kabelac | Problem: Out of memory after 2days with 2GB RAM |
| Florian Schmidt | blacklist kernel boot option |
git: | |
| Junio C Hamano | Re: git-show, was Re: What's in git.git (stable) |
| Daniel Berlin | git annotate runs out of memory |
| Eric Lesh | Re: .gitlink for Summer of Code |
| Petko Manolov | git and binary files |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Doug Evans | Re: Stabilizing Linux |
| drew | Re: Linux-0.12 |
| Stephen Pierce | SLS |
| Richard Stallman | Re: Real men don't attack straw men |
| Vim Visual | lenovo x61s bsd.mp Obsd 4.2 difficulties et al. |
| Anselm R. Garbe | OpenBSD 4.0 / Xorg -> vesa 1920x1200 widescreen resolution |
| Parvinder Bhasin | BIND and CNAME-ing |
