Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7064938

Browse files
committed
libgit2 version 0.10.0, "very disco"
A version *so* awesome that needs 2 version bumps AND a codename. Major features: - New internal garbage collection (harder) - Pack backend rewritten from scratch (better) - Revision walker rewritten from scratch (faster) - New object interdependency system (stronger) - Unique OID shortener - Reference listing In honor of one heck of a music album, released ten years ago, yesterday.
1 parent 6b2a194 commit 7064938

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/git2.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
#ifndef INCLUDE_git_git_h__
2727
#define INCLUDE_git_git_h__
2828

29-
#define LIBGIT2_VERSION "0.8.0"
29+
#define LIBGIT2_VERSION "0.10.0"
3030
#define LIBGIT2_VER_MAJOR 0
31-
#define LIBGIT2_VER_MINOR 8
31+
#define LIBGIT2_VER_MINOR 10
3232
#define LIBGIT2_VER_REVISION 0
3333

3434
#include "git2/common.h"

wscript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ def get_libgit2_version(git2_h):
112112
line = None
113113

114114
with open(git2_h) as f:
115-
line = re.search(r'^#define LIBGIT2_VERSION "(\d\.\d\.\d)"$', f.read(), re.MULTILINE)
115+
line = re.search(r'^#define LIBGIT2_VERSION "(\d+\.\d+\.\d+)"$', f.read(), re.MULTILINE)
116116

117117
if line is None:
118-
raise "Failed to detect libgit2 version"
118+
raise Exception("Failed to detect libgit2 version")
119119

120120
return line.group(1)
121121

0 commit comments

Comments
 (0)