summaryrefslogtreecommitdiffstats
path: root/line-log.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-05-11 23:39:28 +0200
committerJunio C Hamano <gitster@pobox.com>2015-05-11 23:39:28 +0200
commitc99fec6e35437f9db228c5a37c676faf844b3fa3 (patch)
tree9a6f8c27e0bd06c1029e7dd0c854ccdff9d1f92d /line-log.c
parentGit 2.4 (diff)
parentGit 2.3.8 (diff)
downloadgit-c99fec6e35437f9db228c5a37c676faf844b3fa3.tar.xz
git-c99fec6e35437f9db228c5a37c676faf844b3fa3.zip
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++;