summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-11-14 22:12:38 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-11-14 22:12:38 -0800
commitea4f2bd39dcfabb23e86b2f79149c6c4038ff3cd (patch)
treeb070131f1b35de05ddef6d4519373d1aacc96c1a /revision.c
parentDocumentation: New GUI configuration and command-line options. (diff)
parentDocumentation: git-svn: fix example for centralized SVN clone (diff)
downloadtgif-ea4f2bd39dcfabb23e86b2f79149c6c4038ff3cd.tar.xz
Merge branch 'maint'
* maint: Documentation: git-svn: fix example for centralized SVN clone Documentation: fix links to "everyday.html" revision.c: use proper data type in call to sizeof() within xrealloc
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c
index 9dc55d4003..db60f06c98 100644
--- a/revision.c
+++ b/revision.c
@@ -995,7 +995,7 @@ static void add_ignore_packed(struct rev_info *revs, const char *name)
int num = ++revs->num_ignore_packed;
revs->ignore_packed = xrealloc(revs->ignore_packed,
- sizeof(const char **) * (num + 1));
+ sizeof(const char *) * (num + 1));
revs->ignore_packed[num-1] = name;
revs->ignore_packed[num] = NULL;
}