Re: why still no empty directory support in git

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Git Mailing List <git@...>
Date: Tuesday, December 30, 2008 - 2:25 am

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
why still no empty directory support in git, Ping Yin, (Mon Dec 29, 11:42 pm)
Re: why still no empty directory support in git, Johannes Schindelin, (Tue Dec 30, 8:09 am)
Re: why still no empty directory support in git, Michael Gaber, (Tue Dec 30, 10:21 am)
Re: why still no empty directory support in git, Liu Yubao, (Tue Dec 30, 2:09 am)
Re: why still no empty directory support in git, Anatol Pomozov, (Wed Dec 31, 10:50 pm)
Re: why still no empty directory support in git, Asheesh Laroia, (Tue Dec 30, 1:10 am)
Re: why still no empty directory support in git, Asheesh Laroia, (Tue Dec 30, 2:25 am)
Re: why still no empty directory support in git, demerphq, (Tue Dec 30, 4:43 am)
Re: why still no empty directory support in git, Asheesh Laroia, (Tue Dec 30, 4:58 am)
Re: why still no empty directory support in git, Jeff King, (Thu Jan 1, 4:06 pm)
Re: why still no empty directory support in git, Asheesh Laroia, (Thu Jan 8, 3:12 am)
Re: why still no empty directory support in git, Johannes Schindelin, (Fri Jan 2, 2:55 pm)
Re: why still no empty directory support in git, Asheesh Laroia, (Fri Jan 2, 5:31 pm)
Re: why still no empty directory support in git, David Brown, (Tue Dec 30, 9:06 pm)
Re: why still no empty directory support in git, Jeff Whiteside, (Tue Dec 30, 1:28 am)
Re: why still no empty directory support in git, Robin Rosenberg, (Tue Dec 30, 2:58 am)
Re: why still no empty directory support in git, Ping Yin, (Tue Dec 30, 11:36 am)
Re: why still no empty directory support in git, Junio C Hamano, (Tue Dec 30, 3:45 am)