neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit 10628b0e52f860f8c95c476f61a98a31b79ce776
parent 87369611a8cc253c53408375960918eebf50d1cc
Author: John Keeping <john@keeping.me.uk>
Date:   Sat,  2 Mar 2013 12:32:14 +0000

Update git to v1.7.9.7

resolve_ref() is renamed to resolve_ref_unsafe().  CGit's usage is safe.

Signed-off-by: John Keeping <john@keeping.me.uk>

Diffstat:
Mcgit.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cgit.c b/cgit.c @@ -450,7 +450,7 @@ static char *guess_defbranch(const char *repo_path) const char *ref; unsigned char sha1[20]; - ref = resolve_ref("HEAD", sha1, 0, NULL); + ref = resolve_ref_unsafe("HEAD", sha1, 0, NULL); if (!ref || prefixcmp(ref, "refs/heads/")) return "master"; return xstrdup(ref + 11);