driusan / dgit

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

Fix bug where getting objects for a tree always tried to get empty Sha1 #249

Closed driusan closed 5 years ago

driusan commented 5 years ago

A refactoring done in df1a505c resulted in recursively calling GetAllObjectsExcept on a variable that was not yet initialized. This resulted in trying to get objects on the empty Sha1, incorrectly. Fix variable reference to the proper variable name.