summaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-05-04 08:26:54 +0200
committerJunio C Hamano <junkio@cox.net>2007-05-04 08:26:54 +0200
commit9aae177a4adff326421e55c7c0f3138de15ce2c1 (patch)
treeca19b08ff373ea122f87c90d03d111b03a89921e /commit.c
parentblame: use .mailmap unconditionally (diff)
parentgitweb: use decode_utf8 directly (diff)
downloadgit-9aae177a4adff326421e55c7c0f3138de15ce2c1.tar.xz
git-9aae177a4adff326421e55c7c0f3138de15ce2c1.zip
Merge branch 'maint'
* maint: gitweb: use decode_utf8 directly posix compatibility for t4200 Document 'opendiff' value in config.txt and git-mergetool.txt Allow PERL_PATH="/usr/bin/env perl" Make xstrndup common diff.c: fix "size cache" handling. http-fetch: Disable use of curl multi support for libcurl < 7.16.
Diffstat (limited to 'commit.c')
-rw-r--r--commit.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/commit.c b/commit.c
index f1ba972d9a..aa7059c1c6 100644
--- a/commit.c
+++ b/commit.c
@@ -718,14 +718,6 @@ static char *logmsg_reencode(const struct commit *commit,
return out;
}
-static char *xstrndup(const char *text, int len)
-{
- char *result = xmalloc(len + 1);
- memcpy(result, text, len);
- result[len] = '\0';
- return result;
-}
-
static void fill_person(struct interp *table, const char *msg, int len)
{
int start, end, tz = 0;