Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/shortlog.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / shortlog.h` 42 lines ยท 788 bytes Raw Blame History 1 #ifndef SHORTLOG_H 2 #define SHORTLOG_H 3 4 #include "string-list.h" 5 #include "date.h" 6 7 struct commit; 8 9 struct shortlog { 10 struct string_list list; 11 int summary; 12 int wrap_lines; 13 int sort_by_number; 14 int wrap; 15 int in1; 16 int in2; 17 int user_format; 18 int abbrev; 19 struct date_mode date_mode; 20 21 enum { 22 SHORTLOG_GROUP_AUTHOR = (1 << 0), 23 SHORTLOG_GROUP_COMMITTER = (1 << 1), 24 SHORTLOG_GROUP_TRAILER = (1 << 2), 25 SHORTLOG_GROUP_FORMAT = (1 << 3), 26 } groups; 27 struct string_list trailers; 28 struct string_list format; 29 30 int email; 31 struct string_list mailmap; 32 FILE *file; 33 }; 34 35 void shortlog_init(struct shortlog *log); 36 void shortlog_finish_setup(struct shortlog *log); 37 38 void shortlog_add_commit(struct shortlog *log, struct commit *commit); 39 40 void shortlog_output(struct shortlog *log); 41 42 #endif