Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [RFC PATCH] Re: Empty directories...

From: David Kastrup <hidden>
Date: 2016-06-15 22:43:22

Johannes Schindelin [off-list ref] writes:
Hi,

On Thu, 19 Jul 2007, Brian Gernhardt wrote:
quoted
On Jul 19, 2007, at 12:17 PM, Johannes Schindelin wrote:
quoted
Alas, we already have such a marker.  It is called ".gitignore", and has
been ignored by _you_.  There is _nothing_ wrong, from a technical
standpoint, to call this marker ".gitignore", and it is _also_ not wrong
to put this marker into the file system _in addition_ to the index.

So go and add your directories via that marker, and _be done with it_.
But this alters the content of the directory away from what I want it to be,
namely empty.  You aren't addressing the concept of tracking an empty
directory, you're just saying you won't do it.
OMG last time I checked, my _empty_ directory contained "." and "..".  
What do I do now?
If you have a suitable Solaris system, you could try

sudo unlink .
sudo unlink ..

and have a chance that this will work until the next file system
check.

I don't think that adding tracking of ".." would be easy to implement
in git, but I seem to remember that somebody recently proposed a plan
of at least tracking "." which would seem better than nothing and
possibly more useful than "sudo unlink .".

All the best,

-- 
David Kastrup
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help