diff options
author | René Scharfe <l.s.r@web.de> | 2015-02-21 20:53:09 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-22 12:01:37 -0800 |
commit | 68d6d6eb402d7e39c89ce43ca37e6c16b941890c (patch) | |
tree | 43e5d53e4994466ddebbb8b52e16927bd65b9656 /Documentation/git-log.txt | |
parent | for-each-ref: use skip_prefix() to avoid duplicate string comparison (diff) | |
download | tgif-68d6d6eb402d7e39c89ce43ca37e6c16b941890c.tar.xz |
pretty: use starts_with() to check for a prefix
Simplify the code and avoid duplication by using starts_with() instead
of strlen() and strncmp() to check if a line starts with "encoding ".
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-log.txt')
0 files changed, 0 insertions, 0 deletions