projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Make the ProgramError class printable.
[git.git]
/
commit.h
diff --git
a/commit.h
b/commit.h
index
c24ab21
..
9dda2f0
100644
(file)
--- a/
commit.h
+++ b/
commit.h
@@
-21,6
+21,8
@@
extern const char *commit_type;
struct commit *lookup_commit(const unsigned char *sha1);
struct commit *lookup_commit_reference(const unsigned char *sha1);
struct commit *lookup_commit(const unsigned char *sha1);
struct commit *lookup_commit_reference(const unsigned char *sha1);
+struct commit *lookup_commit_reference_gently(const unsigned char *sha1,
+ int quiet);
int parse_commit_buffer(struct commit *item, void *buffer, unsigned long size);
int parse_commit_buffer(struct commit *item, void *buffer, unsigned long size);
@@
-40,6
+42,7
@@
enum cmit_fmt {
CMIT_FMT_DEFAULT = CMIT_FMT_MEDIUM,
CMIT_FMT_SHORT,
CMIT_FMT_FULL,
CMIT_FMT_DEFAULT = CMIT_FMT_MEDIUM,
CMIT_FMT_SHORT,
CMIT_FMT_FULL,
+ CMIT_FMT_ONELINE,
};
extern enum cmit_fmt get_commit_format(const char *arg);
};
extern enum cmit_fmt get_commit_format(const char *arg);