Skip to content

Commit b7fcd00

Browse files
committed
Sync with 1.7.6.1
Signed-off-by: Junio C Hamano <[email protected]>
2 parents 8d9185b + ccef604 commit b7fcd00

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Documentation/git.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ unreleased) version of git, that is available from 'master'
4444
branch of the `git.git` repository.
4545
Documentation for older releases are available here:
4646

47-
* link:v1.7.6/git.html[documentation for release 1.7.6]
47+
* link:v1.7.6.1/git.html[documentation for release 1.7.6.1]
4848

4949
* release notes for
50+
link:RelNotes/1.7.6.1.txt[1.7.6.1].
5051
link:RelNotes/1.7.6.txt[1.7.6].
5152

5253
* link:v1.7.5.4/git.html[documentation for release 1.7.5.4]

upload-pack.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,8 @@ static void check_non_tip(void)
533533
namebuf[41] = '\n';
534534
for (i = get_max_object_index(); 0 < i; ) {
535535
o = get_indexed_object(--i);
536+
if (!o)
537+
continue;
536538
if (!(o->flags & OUR_REF))
537539
continue;
538540
memcpy(namebuf + 1, sha1_to_hex(o->sha1), 40);

0 commit comments

Comments
 (0)