diff options
author | Junio C Hamano <junkio@cox.net> | 2006-05-21 17:37:54 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-21 17:37:54 -0700 |
commit | 7b8e4ab07c6ebc72e311804c9c79ef93cfbbe704 (patch) | |
tree | 6cd08641883391adac6e12352017eb544df0f7e8 /diff.c | |
parent | Merge branch 'js/fmt-patch' into next (diff) | |
parent | mailinfo: skip bogus UNIX From line inside body (diff) | |
download | tgif-7b8e4ab07c6ebc72e311804c9c79ef93cfbbe704.tar.xz |
Merge branch 'jc/mailinfo' into next
* jc/mailinfo:
mailinfo: skip bogus UNIX From line inside body
tutorial-2: typofix in examples.
tutorial: add discussion of index file, object database
tutorial: expanded discussion of commit history
tutorial: replace "whatchanged" by "log"
NO_INET_NTOP and compat/inet_ntop.c for some systems (e.g. old Cygwin).
remove superflous "const"
checkdiff_consume: strtol parameter fix.
Elaborate on why ':' is a bad idea in a ref name.
Reference git-check-ref-format in git-branch.
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -432,7 +432,7 @@ static void checkdiff_consume(void *priv, char *line, unsigned long len) else if (line[0] == '@') { char *plus = strchr(line, '+'); if (plus) - data->lineno = strtol(plus, line + len, 10); + data->lineno = strtol(plus, NULL, 10); else die("invalid diff"); } |