Does GIT have evil twin issues?
Posted
by Senthil A Kumar
on Stack Overflow
See other posts from Stack Overflow
or by Senthil A Kumar
Published on 2010-05-26T04:22:07Z
Indexed on
2010/05/26
4:31 UTC
Read the original article
Hit count: 377
In ClearCase evil twin occurs when two files are found with the same name in two different versions of the directory, and If the element OIDs are different but the names are the same.
In GIT the SHA1 id is always unique and file with same name always have different SHA1 id’s.
We don’t have a concept of Evil twins, but there are likely cases where there is chance for 2 or more developers creating a file with different contents with same filename in the same directory. During merge, when both files are completely different, there are chances of the developers to keep his changes alone and leave other changes resulting in code loss.
Can anyone let me know if there will be issues in GIT similar to ClearCase or sine each SHA1 id is unique there won't be any Evil twin issues in GIT.
© Stack Overflow or respective owner