On Tue, 30 Dec 2008, Asheesh Laroia wrote:Well, changing this behavior seems to be "as easy as" changing unlink_entry in unpack_trees.c to not always rmdir(). The most naive thing I can think of is to have unlink_entry in unpack_trees check against the git config. It's probably more sensible for unpack_trees to be passed an argument that determines if it rmdir()s; that argument could be set via argv at "git unpack-tree" time, which could be set out of a configuration value read at "git" time. Would a change of the "more sensible" kind possibly be accepted by the git maintainer? I ask about this because I'm using git to track email in Maildir repositories, and in that vein I'm getting bitten by git's removal of empty directories. -- Asheesh. -- You will gain money by an illegal action. -- 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
| Greg Kroah-Hartman | [PATCH 006/196] Chinese: add translation of oops-tracing.txt |
| Linus Torvalds | Linux 2.6.21-rc1 |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Alexey Dobriyan | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Evgeniy Polyakov | Re: [BUG] New Kernel Bugs |
git: | |
