Commit 33ffc17
verify_lock(): report errors via a strbuf
Instead of writing error messages directly to stderr, write them to
a "strbuf *err". The caller, lock_ref_sha1_basic(), uses this error
reporting convention with all the other callees, and reports its
error this way to its callers.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent f41d632 commit 33ffc17
1 file changed
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2221 | 2221 | | |
2222 | 2222 | | |
2223 | 2223 | | |
2224 | | - | |
2225 | | - | |
| 2224 | + | |
| 2225 | + | |
2226 | 2226 | | |
2227 | 2227 | | |
2228 | | - | |
| 2228 | + | |
| 2229 | + | |
2229 | 2230 | | |
| 2231 | + | |
| 2232 | + | |
2230 | 2233 | | |
2231 | 2234 | | |
2232 | 2235 | | |
2233 | 2236 | | |
2234 | | - | |
| 2237 | + | |
2235 | 2238 | | |
2236 | 2239 | | |
2237 | 2240 | | |
2238 | 2241 | | |
2239 | | - | |
2240 | | - | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
2241 | 2246 | | |
2242 | 2247 | | |
2243 | 2248 | | |
| |||
2469 | 2474 | | |
2470 | 2475 | | |
2471 | 2476 | | |
2472 | | - | |
| 2477 | + | |
2473 | 2478 | | |
2474 | 2479 | | |
2475 | 2480 | | |
| |||
0 commit comments