Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: Strange effect merging empty file

From: Ralf Nyren <hidden>
Date: 2016-06-15 22:53:21

On 22/03/12 13:17, Randal L. Schwartz wrote:
quoted
quoted
quoted
quoted
quoted
"Zbigniew" == Zbigniew Jędrzejewski-Szmek[off-list ref]  writes:
Zbigniew>  touch .gitignore

If you're doing this to make sure git makes an empty directory, always
put the directory name in there as a comment... that makes it (a) not an
empty file (so merge doesn't get confused) and (b) unique, so when you
change it, merge won't try to change other similar empty files.
Good point.

Renaming directories makes the comment out-of-date but since uniqueness 
is what matters it should not be a problem.

regards, Ralf

Attachments

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