Merge with master for a couple more fixes.
This commit is contained in:
commit
0026d54841
3
cache.h
3
cache.h
@ -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
|
||||
|
@ -195,7 +195,7 @@ Date: '"$ad"
|
||||
echo
|
||||
}
|
||||
}
|
||||
|
||||
echo
|
||||
echo '---'
|
||||
echo
|
||||
git-diff-tree -p $diff_opts "$commit" | git-apply --stat --summary
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user