Commit cba1202
refs.c: remove lock_ref_sha1
lock_ref_sha1 was only called from one place in refs.c and only provided
a check that the refname was sane before adding back the initial "refs/"
part of the ref path name, the initial "refs/" that this caller had already
stripped off before calling lock_ref_sha1.
Signed-off-by: Ronnie Sahlberg <[email protected]>
Reviewed-by: Michael Haggerty <[email protected]>
Signed-off-by: Jonathan Nieder <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 04ad622 commit cba1202
1 file changed
+5
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2173 | 2173 | | |
2174 | 2174 | | |
2175 | 2175 | | |
2176 | | - | |
2177 | | - | |
2178 | | - | |
2179 | | - | |
2180 | | - | |
2181 | | - | |
2182 | | - | |
2183 | | - | |
2184 | | - | |
2185 | 2176 | | |
2186 | 2177 | | |
2187 | 2178 | | |
| |||
2391 | 2382 | | |
2392 | 2383 | | |
2393 | 2384 | | |
2394 | | - | |
| 2385 | + | |
| 2386 | + | |
| 2387 | + | |
| 2388 | + | |
2395 | 2389 | | |
| 2390 | + | |
2396 | 2391 | | |
2397 | 2392 | | |
2398 | 2393 | | |
| |||
0 commit comments