[PATCH 1/1] git: update to v2.9.3

2016-08-13 Thread Christian Hesse
From: Christian Hesse Update to git version v2.9.3, no changes required. Signed-off-by: Christian Hesse --- Makefile | 2 +- git | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9d067d4..1ff3dc8 100644 --- a/Makefile +++ b/Makefile @@ -14,7

[PATCH 3/4] ui-tag: clean up taginfo

2016-08-13 Thread John Keeping
Free the taginfo when we're done with it. Also reduce the scope of a couple of variables so that it's clear that this is the only path that uses the taginfo structure. Coverity-Id: 141883 Signed-off-by: John Keeping --- ui-tag.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[PATCH 1/4] shared: remove return value from cgit_free_commitinfo()

2016-08-13 Thread John Keeping
This return value is never used and the function always returns NULL. Signed-off-by: John Keeping --- cgit.h | 2 +- shared.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cgit.h b/cgit.h index 325432b..ec73dd3 100644 --- a/cgit.h +++ b/cgit.h @@ -343,7 +343,7 @@ exte

[PATCH 2/4] shared: make cgit_free_taginfo() public

2016-08-13 Thread John Keeping
We will use this function from ui-tag.c in the next patch. Signed-off-by: John Keeping --- cgit.h | 1 + shared.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cgit.h b/cgit.h index ec73dd3..c625161 100644 --- a/cgit.h +++ b/cgit.h @@ -344,6 +344,7 @@ extern int cgit_re

[PATCH 4/4] ui-tree: remove a fixed size buffer

2016-08-13 Thread John Keeping
As libgit.a moves away from using fixed size buffers, there is no guarantee that PATH_MAX is sufficient for all of the paths in a Git tree, so we should use a dynamically sized buffer here. Coverity-Id: 141884 Signed-off-by: John Keeping --- ui-tree.c | 15 +-- 1 file changed, 9 inse