Commit 6a49870
read_packed_refs: pass strbuf to parse_ref_line
Now that we have a strbuf in read_packed_refs, we can pass
it straight to the line parser, which saves us an extra
strlen.
Signed-off-by: Jeff King <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 10c497a commit 6a49870
1 file changed
+15
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
976 | | - | |
| 976 | + | |
977 | 977 | | |
| 978 | + | |
| 979 | + | |
978 | 980 | | |
979 | 981 | | |
980 | 982 | | |
| |||
983 | 985 | | |
984 | 986 | | |
985 | 987 | | |
986 | | - | |
987 | | - | |
988 | | - | |
| 988 | + | |
989 | 989 | | |
990 | | - | |
| 990 | + | |
| 991 | + | |
991 | 992 | | |
992 | | - | |
| 993 | + | |
993 | 994 | | |
994 | | - | |
995 | | - | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
996 | 998 | | |
997 | | - | |
| 999 | + | |
| 1000 | + | |
998 | 1001 | | |
999 | | - | |
| 1002 | + | |
1000 | 1003 | | |
1001 | | - | |
| 1004 | + | |
1002 | 1005 | | |
1003 | 1006 | | |
1004 | 1007 | | |
| |||
1049 | 1052 | | |
1050 | 1053 | | |
1051 | 1054 | | |
1052 | | - | |
| 1055 | + | |
1053 | 1056 | | |
1054 | 1057 | | |
1055 | 1058 | | |
| |||
0 commit comments