Commit 37c4950
committed
commit: improve error messages
Right now, the error message when trying to parse an invalid tree or
parent header is hard to pin down because it's simply a generic hex
string parsing error. Make the error easier to discover in the future
by adding some descriptive text to indicate to the user what the problem
is.1 parent 5f09182 commit 37c4950
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
0 commit comments