summaryrefslogtreecommitdiff
path: root/file/git-hist.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-27 22:11:27 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-27 22:11:27 -0300
commitee34dad7776dd3fb3f658c78a331514eb5aa4f62 (patch)
treed72e1b8798c1a41667d308e4cbe6c30d9b2ad1db /file/git-hist.h
parentd240afd8f3e316018fbaaa32e58c50dee2c00221 (diff)
downloadeeshow-ee34dad7776dd3fb3f658c78a331514eb5aa4f62.tar.gz
eeshow-ee34dad7776dd3fb3f658c78a331514eb5aa4f62.tar.bz2
eeshow-ee34dad7776dd3fb3f658c78a331514eb5aa4f62.zip
file/git-hist.c (vcs_git_summary_for_pango, vcs_git_long_for_pango): branches
vcs_git_long_for_pango now shows branches. New vcs_git_summary_for_pango is a branch-showing alternative to vcs_git_summary.
Diffstat (limited to 'file/git-hist.h')
-rw-r--r--file/git-hist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/file/git-hist.h b/file/git-hist.h
index 6e9b1fa..25babcd 100644
--- a/file/git-hist.h
+++ b/file/git-hist.h
@@ -45,6 +45,8 @@ struct vcs_hist *vcs_head(const struct vcs_history *history);
char *vcs_git_get_rev(struct vcs_hist *h);
const char *vcs_git_summary(struct vcs_hist *hist);
+char *vcs_git_summary_for_pango(struct vcs_hist *hist,
+ char *(*formatter)(const char *fmt, ...));
char *vcs_git_long_for_pango(struct vcs_hist *hist,
char *(*formatter)(const char *fmt, ...));