Commit 2c3aed1
pseudoref: check return values from read_ref()
These codepaths attempt to compare the "expected" current value with
the actual current value, but did not check if we successfully read
the current value before comparison.
Signed-off-by: David Turner <dturner@twopensource.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent d96a539 commit 2c3aed1
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2868 | 2868 | | |
2869 | 2869 | | |
2870 | 2870 | | |
2871 | | - | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
2872 | 2874 | | |
2873 | 2875 | | |
2874 | 2876 | | |
| |||
2904 | 2906 | | |
2905 | 2907 | | |
2906 | 2908 | | |
2907 | | - | |
| 2909 | + | |
| 2910 | + | |
2908 | 2911 | | |
2909 | 2912 | | |
2910 | 2913 | | |
| |||
0 commit comments