summaryrefslogtreecommitdiff
path: root/line-log.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-05-11 14:39:28 -0700
committerJunio C Hamano <gitster@pobox.com>2015-05-11 14:39:28 -0700
commitc99fec6e35437f9db228c5a37c676faf844b3fa3 (patch)
tree9a6f8c27e0bd06c1029e7dd0c854ccdff9d1f92d /line-log.c
parent3d4a3ffe64162b45ae7c991fc60623ecb4678cfd (diff)
parent9a3d637541a5b6fcd84b6f5fa057e597d1696460 (diff)
downloadgit-c99fec6e35437f9db228c5a37c676faf844b3fa3.tar.gz
Sync with 2.3.8
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'line-log.c')
-rw-r--r--line-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/line-log.c b/line-log.c
index a490efea07..a9ce0147b7 100644
--- a/line-log.c
+++ b/line-log.c
@@ -575,7 +575,7 @@ parse_lines(struct commit *commit, const char *prefix, struct string_list *args)
name_part = skip_range_arg(item->string);
if (!name_part || *name_part != ':' || !name_part[1])
- die("-L argument '%s' not of the form start,end:file",
+ die("-L argument not 'start,end:file' or ':funcname:file': %s",
item->string);
range_part = xstrndup(item->string, name_part - item->string);
name_part++;