You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UpdateLibgit2ToSha.ps1
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@
5
5
Desired libgit2 version. This is run through `git rev-parse`, so branch names are okay too.
6
6
.PARAMETERvs
7
7
Version of Visual Studio project files to generate. Cmake supports "10" (default) and "11".
8
+
.PARAMETERlibgit2Name
9
+
The base name (i.e without the file extension) of the libgit2 DLL to generate. Default is to use git2-$suffix, where $suffix is the first 7 characters of the SHA1 of the corresponding libgi2 commit as the suffix.
8
10
.PARAMETERtest
9
11
If set, run the libgit2 tests on the desired version.
10
12
.PARAMETERdebug
@@ -14,6 +16,7 @@
14
16
Param(
15
17
[string]$sha='HEAD',
16
18
[string]$vs='10',
19
+
[string]$libgit2Name='',
17
20
[switch]$test,
18
21
[switch]$debug
19
22
)
@@ -127,8 +130,12 @@ function Assert-Consistent-Naming($expected, $path) {
0 commit comments