Merge with master for a couple more fixes.

This commit is contained in:
Junio C Hamano 2005-08-19 13:55:59 -07:00
commit 0026d54841
3 changed files with 4 additions and 3 deletions

View File

@ -38,11 +38,10 @@
#define NORETURN __attribute__((__noreturn__))
#else
#define NORETURN
#endif
#ifndef __attribute__
#define __attribute__(x)
#endif
#endif
/*
* Intensive research over the course of many years has shown that

View File

@ -195,7 +195,7 @@ Date: '"$ad"
echo
}
}
echo
echo '---'
echo
git-diff-tree -p $diff_opts "$commit" | git-apply --stat --summary

View File

@ -418,6 +418,8 @@ static struct commit *get_commit_reference(const char *name, unsigned int flags)
if (tag_objects && !(object->flags & UNINTERESTING))
add_pending_object(object, tag->tag);
object = parse_object(tag->tagged->sha1);
if (!object)
die("bad object %s", sha1_to_hex(tag->tagged->sha1));
}
/*