summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJonas Fonseca <fonseca@diku.dk>2006-08-28 13:52:13 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-08-28 23:20:33 (GMT)
commit3dfb9278dff6d81fcc062e9a56edab9ece38ea7d (patch)
treea6b36e289c7ab62cfeb8121f597a2bfe3f2595b3 /commit.h
parentb17fda5c07744190e2f9caa24321596830064083 (diff)
downloadgit-3dfb9278dff6d81fcc062e9a56edab9ece38ea7d.zip
git-3dfb9278dff6d81fcc062e9a56edab9ece38ea7d.tar.gz
git-3dfb9278dff6d81fcc062e9a56edab9ece38ea7d.tar.bz2
Add --relative-date option to the revision interface
Exposes the infrastructure from 9a8e35e98793af086f05d1ca9643052df9b44a74. Signed-off-by: Jonas Fonseca <fonseca@diku.dk> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.h b/commit.h
index 779ed82..fc13de9 100644
--- a/commit.h
+++ b/commit.h
@@ -52,7 +52,7 @@ enum cmit_fmt {
};
extern enum cmit_fmt get_commit_format(const char *arg);
-extern unsigned long pretty_print_commit(enum cmit_fmt fmt, const struct commit *, unsigned long len, char *buf, unsigned long space, int abbrev, const char *subject, const char *after_subject);
+extern unsigned long pretty_print_commit(enum cmit_fmt fmt, const struct commit *, unsigned long len, char *buf, unsigned long space, int abbrev, const char *subject, const char *after_subject, int relative_date);
/** Removes the first commit from a list sorted by date, and adds all
* of its parents.