about summary refs log tree commit diff
path: root/third_party/git/compat/vcbuild/vcpkg_copy_dlls.bat
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-09-21T10·03+0300
committerVincent Ambo <mail@tazj.in>2021-09-21T11·29+0300
commit43b1791ec601732ac31195df96781a848360a9ac (patch)
treedaae8d638343295d2f1f7da955e556ef4c958864 /third_party/git/compat/vcbuild/vcpkg_copy_dlls.bat
parent2d8e7dc9d9c38127ec4ebd13aee8e8f586a43318 (diff)
chore(3p/git): Unvendor git and track patches instead r/2903
This was vendored a long time ago under the expectation that keeping
it in sync with cgit would be easier this way, but it has proven not
to be a big issue.

On the other hand, a vendored copy of git is an annoying maintenance
burden. It is much easier to rebase the single (dottime) patch that we
have.

This removes the vendored copy of git and instead passes the git
source code to cgit via `pkgs.srcOnly`, which includes the applied
patch so that cgit can continue rendering dottime.

Change-Id: If31f62dea7ce688fd1b9050204e9378019775f2b
Diffstat (limited to 'third_party/git/compat/vcbuild/vcpkg_copy_dlls.bat')
-rw-r--r--third_party/git/compat/vcbuild/vcpkg_copy_dlls.bat39
1 files changed, 0 insertions, 39 deletions
diff --git a/third_party/git/compat/vcbuild/vcpkg_copy_dlls.bat b/third_party/git/compat/vcbuild/vcpkg_copy_dlls.bat
deleted file mode 100644
index 13661c14f8..0000000000
--- a/third_party/git/compat/vcbuild/vcpkg_copy_dlls.bat
+++ /dev/null
@@ -1,39 +0,0 @@
-@ECHO OFF
-REM ================================================================
-REM This script is an optional step. It copies the *.dll and *.pdb
-REM files (created by vcpkg_install.bat) into the top-level directory
-REM of the repo so that you can type "./git.exe" and find them without
-REM having to fixup your PATH.
-REM
-REM NOTE: Because the names of some DLL files change between DEBUG and
-REM NOTE: RELEASE builds when built using "vcpkg.exe", you will need
-REM NOTE: to copy up the corresponding version.
-REM ================================================================
-
-	SETLOCAL EnableDelayedExpansion
-
-	@FOR /F "delims=" %%D IN ("%~dp0") DO @SET cwd=%%~fD
-	cd %cwd%
-
-	SET arch=x64-windows
-	SET inst=%cwd%vcpkg\installed\%arch%
-
-	IF [%1]==[release] (
-		echo Copying RELEASE mode DLLs to repo root...
-	) ELSE IF [%1]==[debug] (
-		SET inst=%inst%\debug
-		echo Copying DEBUG mode DLLs to repo root...
-	) ELSE (
-		echo ERROR: Invalid argument.
-		echo Usage: %~0 release
-		echo Usage: %~0 debug
-		EXIT /B 1
-	)
-
-	xcopy /e/s/v/y %inst%\bin\*.dll ..\..\
-	xcopy /e/s/v/y %inst%\bin\*.pdb ..\..\
-
-	xcopy /e/s/v/y %inst%\bin\*.dll ..\..\t\helper\
-	xcopy /e/s/v/y %inst%\bin\*.pdb ..\..\t\helper\
-
-	EXIT /B 0