On Sat, 2014-11-15 at 17:10 +0100, Martin Decky wrote:
> > what are the problems with renames and empty directories?
> 
> https://git.wiki.kernel.org/index.php/Git_FAQ#Why_does_Git_not_.22track.22_renames.3F
> https://git.wiki.kernel.org/index.php/Git_FAQ#Can_I_add_empty_directories.3F
> 
> In a nutshell, the renames should work mostly fine. If a rename is a 
> logical operation that is actually tracked by the VCS like in Bazaar, 
> then you can be sure that you won't be required to track some (possibly 
> ancient) history by hand. But I understand that the design of Git is 
> different and interpreting renames ex post should mostly work fine.
> 
> Empty directories are a more serious issue simply because we do have 
> empty directories in our source tree now. I also understand that there 
> are at least two straightforward solutions for this (generating the 
> empty directories instead of storing them and .empty files), but neither 
> of them is elegant.

I personally prefer using .gitignore (with single line containing *) as
a preferred alternative to bzr tracking directories, mostly because
issues on removal.
"run git clean to remove stale files after merge" vs. "you better run
make clean before merging or bzr is gonna crap out"

it's not just empty directories, it's tracking directories in general

jan

> 
> 
> M.D.
> 
> _______________________________________________
> HelenOS-devel mailing list
> [email protected]
> http://lists.modry.cz/listinfo/helenos-devel


Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to