Closed ThePiGrepper closed 5 years ago
fixup: 0a6a4d0 Use exit status rather than string emptiness
Ah interesting. git ls-tree fails when the ref isn't found, but not when the tree object isn't found. This is probably why used the [[ -z $(...) ]] syntax in the first place.
Thanks!
fixup: 0a6a4d0 Use exit status rather than string emptiness