driusan / dgit

A Pure Go Git Implementation
MIT License
112 stars 10 forks source link

Update handling of trees to handle trees generated by git9 #266

Closed driusan closed 4 years ago

driusan commented 4 years ago

git9 incorrectly uses 040755 instead of 040000 for the mode of subdirectories in trees. Since even if it's fixed upsteam the trees will still be out in the wild, this updates dgit to be a little more lenient of what it considers a tree.