X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=revision.h;h=6aa53d1aa708918e4bbbebb042e0bf75c1629b05;hb=d7a0129b3cf40e4f001295a22e2e9f8f6cbc14a4;hp=754f31b1cda81c474f71ab56f8d82e260adee968;hpb=9f24152346288dcdfa5bad18458421bd1b60a3d7;p=git.git diff --git a/revision.h b/revision.h index 754f31b1c..6aa53d1aa 100644 --- a/revision.h +++ b/revision.h @@ -118,6 +118,7 @@ struct rev_info { date_mode_explicit:1, preserve_subject:1; unsigned int disable_stdin:1; + unsigned int leak_pending:1; enum date_mode date_mode; @@ -214,6 +215,7 @@ extern void add_object(struct object *obj, const char *name); extern void add_pending_object(struct rev_info *revs, struct object *obj, const char *name); +extern void add_pending_sha1(struct rev_info *revs, const char *name, const unsigned char *sha1, unsigned int flags); extern void add_head_to_pending(struct rev_info *);