Skip to content

Rebase shears/next (#22424280567)#9

Open
gitforwindowshelper[bot] wants to merge 278 commits intobase/shears/next-22424280567from
shears/next-22424280567
Open

Rebase shears/next (#22424280567)#9
gitforwindowshelper[bot] wants to merge 278 commits intobase/shears/next-22424280567from
shears/next-22424280567

Conversation

@gitforwindowshelper
Copy link
Copy Markdown

Workflow run

Rebase Summary: next

From: bb8b715a49 (Merge 'readme' into HEAD, 2018-06-07) (ba0a31979f..bb8b715a49)
To: f1824bafe4 (Merge 'readme' into HEAD, 2018-06-07) (dec49d3288..f1824bafe4)

Statistics

Metric Count
Total conflicts 0
Skipped (upstreamed) 0
Resolved surgically 0
Range-diff (click to expand)
  1:  83c94c9555 =   1:  f5eb98c434 sideband: mask control characters
  2:  9bee141735 =   2:  6d75ad89de sideband: introduce an "escape hatch" to allow control characters
  3:  420f46bcab =   3:  390fbfb245 sideband: do allow ANSI color sequences by default
  4:  a79de72105 =   4:  74bc93a474 unix-socket: avoid leak when initialization fails
  5:  d750350d8f =   5:  1540ccdddf grep: prevent `^$` false match at end of file
 15:  6fa15ed82e =   6:  6891b86736 mingw: include the Python parts in the build
  6:  ced9b89aa4 =   7:  bb86259d8e t9350: point out that refs are not updated correctly
 17:  b8c35434d3 =   8:  a7f2f31df8 win32/pthread: avoid name clashes with winpthread
  7:  a30ffaed28 =   9:  63c0121f7b transport-helper: add trailing --
 20:  1e64f32ec3 =  10:  ae6bb220c4 git-compat-util: avoid redeclaring _DEFAULT_SOURCE
  8:  491a2c33d1 =  11:  96fedd1863 remote-helper: check helper status after import/export
 32:  61e2d96106 =  12:  58ce83d3ca clean: do not traverse mount points
 23:  ca82211e44 =  13:  f627e3d5e4 Import the source code of mimalloc v2.2.7
  9:  fed9c78064 =  14:  cb40eb04c3 Always auto-gc after calling a fast-import transport
 41:  3509c8ec73 =  15:  403d014c01 mingw: prevent regressions with "drive-less" absolute paths
 42:  17d0958075 =  16:  ba79a12353 clean: remove mount points when possible
 10:  13c88fbb0a =  17:  501df34e85 vcpkg_install: detect lack of Git
 11:  9b8a04e14e =  18:  2f399bb946 vcpkg_install: add comment regarding slow network connections
 12:  1d25a84b08 =  19:  bd4c4ce6f7 vcbuild: install ARM64 dependencies when building ARM64 binaries
 13:  7dca9f644b =  20:  e94ea4d62e vcbuild: add an option to install individual 'features'
 14:  2edbf421cb =  21:  097eb241bd cmake: allow building for Windows/ARM64
 16:  70e32cc83f =  22:  a5351ddbb6 ci(vs-build) also build Windows/ARM64 artifacts
 18:  3eec62fde1 =  23:  bb4d0d696a Add schannel to curl installation
 19:  db40408a31 =  24:  900464e780 hash-object: demonstrate a >4GB/LLP64 problem
 21:  24b01b89b6 =  25:  b66e077129 cmake(): allow setting HOST_CPU for cross-compilation
 22:  9f612ee7f0 =  26:  563d59ae20 object-file.c: use size_t for header lengths
 24:  a09b01346e =  27:  45e8d2b738 CMake: default Visual Studio generator has changed
 25:  9a1f9cfbf3 =  28:  a68d4d43ec hash algorithms: use size_t for section lengths
 26:  9441adf1dd =  29:  314e1d2b89 mimalloc: adjust for building inside Git
 27:  bfe71b3e18 =  30:  38bbb8732a mingw: demonstrate a `git add` issue with NTFS junctions
 28:  1dba1d610d =  31:  ff6f795306 .gitignore: add Visual Studio CMakeSetting.json file
 29:  60b2e182dd =  32:  da5423637b hash-object --stdin: verify that it works with >4GB/LLP64
 30:  7f916b4f03 =  33:  d15acd066f mimalloc: offer a build-time option to enable it
 31:  56890e878c =  34:  4ff304c5b8 t5505/t5516: allow running without `.git/branches/` in the templates
 33:  c40950f2e4 =  35:  304c30d876 strbuf_realpath(): use platform-dependent API if available
 34:  0c483d644c =  36:  b3ada3577c http: use new "best effort" strategy for Secure Channel revoke checking
 35:  785d6c5731 =  37:  cd2d4b4591 subtree: update `contrib/subtree` `test` target
 36:  da2c624d98 =  38:  0763d42983 CMakeLists: add default "x64-windows" arch for Visual Studio
 37:  43befd5549 =  39:  0aef378d21 hash-object: add another >4GB/LLP64 test case
 38:  906f00d68a =  40:  39c5b7b4a5 setup: properly use "%(prefix)/" when in WSL
 91:  2360df2caa =  41:  4271f33920 Add config option `windows.appendAtomically`
 39:  a71e47b29f =  42:  23648af842 mingw: use mimalloc
 40:  35d4b39448 =  43:  0d3490e343 t5505/t5516: fix white-space around redirectors
 83:  8dba456465 =  44:  95a1b720a8 MinGW: link as terminal server aware
 43:  b35fe60a98 =  45:  c4b3116859 transport: optionally disable side-band-64k
 44:  792ce0e7f7 =  46:  3fc1eff910 mingw: fix fatal error working on mapped network drives on Windows
 45:  a7baf126de =  47:  05505f9f19 clink.pl: fix MSVC compile script to handle libcurl-d.lib
 46:  933f0a9e36 =  48:  cf3134562c mingw: implement a platform-specific `strbuf_realpath()`
 47:  e3728ac162 =  49:  ecd8a746f9 t3701: verify that we can add *lots* of files interactively
 48:  29f379cf84 =  50:  2fbb2022bb commit: accept "scissors" with CR/LF line endings
 49:  b235ebe737 =  51:  aed1b25640 t0014: fix indentation
 50:  832ee42193 =  52:  a1500434ee git-gui: accommodate for intent-to-add files
 51:  751a4154d6 =  53:  2572698986 mingw: allow for longer paths in `parse_interpreter()`
 52:  2e8e1ea653 =  54:  63b1464985 compat/vcbuild: document preferred way to build in Visual Studio
 53:  ebcd44670c =  55:  e190ce21d1 http: optionally send SSL client certificate
 54:  b29c98cf05 =  56:  d3622fab50 ci: run `contrib/subtree` tests in CI builds
 55:  746c4c4435 =  57:  6cf450a72c CMake: show Win32 and Generator_platform build-option values
 56:  967bb0e560 =  58:  312efa05f0 hash-object: add a >4GB/LLP64 test case using filtered input
 57:  06c4a99573 =  59:  1c6d297447 compat/mingw.c: do not warn when failing to get owner
 58:  ff0bfc0399 =  60:  11f2b25411 mingw: $env:TERM="xterm-256color" for newer OSes
 95:  ddded7132f =  61:  a09d81f7f4 winansi: check result and Buffer before using Name
 96:  afafc8a7fd =  62:  943d00cd88 mingw: change core.fsyncObjectFiles = 1 by default
 97:  9566d1d677 =  63:  507faa8da3 Fix Windows version resources
 98:  1e95c15b62 =  64:  c563bfdeae status: fix for old-style submodules with commondir
 59:  9f238aaf15 =  65:  8e537f5817 windows: skip linking `git-<command>` for built-ins
 60:  05aca4b68a =  66:  4951996f58 mingw: stop hard-coding `CC = gcc`
 61:  5ddd87fa66 =  67:  880796c46a mingw: drop the -D_USE_32BIT_TIME_T option
 62:  bc66ca243c =  68:  b86de2b05c mingw: only use -Wl,--large-address-aware for 32-bit builds
 63:  5e9dd3bc97 =  69:  8237803f07 mingw: avoid over-specifying `--pic-executable`
 64:  5047d7235c =  70:  5b02061c21 mingw: set the prefix and HOST_CPU as per MSYS2's settings
 65:  f868af531d =  71:  14d0c97afd mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
 66:  b3195d6d61 =  72:  8e18ec94c0 mingw: rely on MSYS2's metadata instead of hard-coding it
 67:  67fc4e391b =  73:  b80aca29bc mingw: always define `ETC_*` for MSYS2 environments
 68:  e54b23ab0d =  74:  cabdd3c6f6 max_tree_depth: lower it for clang builds in general on Windows
 69:  ea5a695c56 =  75:  49747193f0 mingw: ensure valid CTYPE
 70:  dae98ffe4e =  76:  40569c417b ci: work around a problem with HTTP/2 vs libcurl v8.10.0
 71:  7a72754273 =  77:  0a721aee4d mingw: allow `git.exe` to be used instead of the "Git wrapper"
 72:  6572647663 =  78:  cc703f01b1 revision: create mark_trees_uninteresting_dense()
 73:  f0260c2717 =  79:  2540abc180 mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system directory
 74:  5671fa4d4e =  80:  112e701e4e survey: stub in new experimental 'git-survey' command
 75:  7cd691f7af =  81:  49b5548a0e survey: add command line opts to select references
 76:  599554507f =  82:  4bf5b07258 clink.pl: fix libexpatd.lib link error when using MSVC
 77:  5b65fc8ebc =  83:  ba134be3d5 survey: start pretty printing data in table form
 78:  9759f9196d =  84:  93df1d42e1 Makefile: clean up .ilk files when MSVC=1
 79:  cdda5db9d6 =  85:  8728c5f0ef survey: add object count summary
 80:  023b1a5832 =  86:  f2d9f1b1e9 vcbuild: add support for compiling Windows resource files
 81:  58ef5e57ae =  87:  2931b518de survey: summarize total sizes by object type
 82:  6e42a40356 =  88:  366f41df59 config.mak.uname: add git.rc to MSVC builds
 84:  86050a99c0 =  89:  c6272e7019 survey: show progress during object walk
110:  db457fe3f3 =  90:  7c630b99d1 mingw: make sure `errno` is set correctly when socket operations fail
 85:  3daa06e2a7 =  91:  5eb31b8773 clink.pl: ignore no-stack-protector arg on MSVC=1 builds
 86:  b4397e3e0d =  92:  607eee1d9e http: optionally load libcurl lazily
 87:  9b6857eaa8 =  93:  cbef56d918 survey: add ability to track prioritized lists
111:  5c61a39c2d =  94:  9a49a4ddb0 compat/mingw: handle WSA errors in strerror
 88:  370f434a0c =  95:  5d03c6bc84 clink.pl: move default linker options for MSVC=1 builds
 89:  fb8fa8143e =  96:  357925b55a http: support lazy-loading libcurl also on Windows
 90:  f6e266d35e =  97:  52cee7f60f survey: add report of "largest" paths
112:  6403c09589 =  98:  e323381fbb compat/mingw: drop outdated comment
 92:  2a64ccc0cc =  99:  3a47f654ec cmake: install headless-git.
 93:  86477bbeae = 100:  650cbdcd59 http: when loading libcurl lazily, allow for multiple SSL backends
 94:  a374e2da93 = 101:  1ef4173ddd survey: add --top=<N> option and config
113:  2f9f044fd7 = 102:  c5e0c5821b t0301: actually test credential-cache on Windows
 99:  90958128ce = 103:  74187866b8 git.rc: include winuser.h
100:  ddfbe9eddb = 104:  4b4fe663d1 mingw: do load libcurl dynamically by default
101:  47284db747 = 105:  e7b6c03898 Add a GitHub workflow to verify that Git/Scalar work in Nano Server
102:  31d1538fa2 = 106:  1a20484cfe mingw: suggest `windows.appendAtomically` in more cases
103:  37ed872218 = 107:  bf812d8a71 win32: use native ANSI sequence processing, if possible
104:  983c39865b = 108:  d550934062 common-main.c: fflush stdout buffer upon exit
105:  593b5f02af = 109:  67cda42c8c t5601/t7406(mingw): do run tests with symlink support
106:  a6cfcbb441 = 110:  4e135d0c45 win32: ensure that `localtime_r()` is declared even in i686 builds
107:  2c4f935d0c = 111:  7ba598ffbf Fallback to AppData if XDG_CONFIG_HOME is unset
108:  a990dbe07f = 112:  edc90a4eb2 run-command: be helpful with Git LFS fails on Windows 7
109:  9372ef90c6 = 113:  e3ca6941b0 survey: clearly note the experimental nature in the output
114:  3a2aa911ef = 114:  083eecc52c credential-cache: handle ECONNREFUSED gracefully
115:  b476064a6f = 115:  890df9c5e9 reftable: do make sure to use custom allocators
116:  e656e037a6 = 116:  ac5df47fea check-whitespace: avoid alerts about upstream commits
117:  8c5269b5aa = 117:  f715d795a2 t/t5571-prep-push-hook.sh: Add test with writing to stderr
118:  f6eb2f93cd = 118:  640c8644e0 git-svn: mark it as unsupported by the Git for Windows project
119:  fc3d0d1aaf = 119:  6b436dd8c3 ci(macos): skip the `git p4` tests
159:  58421cb97a = 120:  7aa4053a6b git-gui--askyesno: fix funny text wrapping
161:  dd42f32784 = 121:  8287f435c6 git-gui--askyesno (mingw): use Git for Windows' icon, if available
120:  8c4a6c151b = 122:  4afa7560d3 Win32: make FILETIME conversion functions public
121:  4646809b7a = 123:  8de034b36e Win32: dirent.c: Move opendir down
122:  ad739ee390 = 124:  2f16a665b6 mingw: make the dirent implementation pluggable
123:  9fb438375d = 125:  402a2c9c3f Win32: make the lstat implementation pluggable
124:  2a9596998d = 126:  309dd306db mingw: add infrastructure for read-only file system level caches
125:  358e9b8633 = 127:  5db6d7fc78 mingw: add a cache below mingw's lstat and dirent implementations
126:  7b5eab508a = 128:  83be52f4c3 fscache: load directories only once
127:  c587f039db = 129:  5e9c68cf6d fscache: add key for GIT_TRACE_FSCACHE
128:  5ef3a8c705 = 130:  14ac6eb032 fscache: remember not-found directories
129:  1b88c1bf5f = 131:  bba25a7196 fscache: add a test for the dir-not-found optimization
130:  07029edd9c = 132:  6d14361dbc add: use preload-index and fscache for performance
131:  7a5e024080 = 133:  7cf7ad8961 dir.c: make add_excludes aware of fscache during status
132:  bbf08605a0 = 134:  20ef34cfee fscache: make fscache_enabled() public
133:  c1c9873d48 = 135:  4f34fc1798 dir.c: regression fix for add_excludes with fscache
134:  8ab9226c29 = 136:  705ab6219b fetch-pack.c: enable fscache for stats under .git/objects
135:  eb34ce81d6 = 137:  cce37c8909 checkout.c: enable fscache for checkout again
136:  84cb5ce49f = 138:  e76b2cec6d Enable the filesystem cache (fscache) in refresh_index().
137:  9b59f73f64 = 139:  4f42390b59 fscache: use FindFirstFileExW to avoid retrieving the short name
138:  d4361a6967 = 140:  22c26c8e57 fscache: add GIT_TEST_FSCACHE support
139:  42d336b75f = 141:  c09c48a6c6 fscache: add fscache hit statistics
140:  f7db584e1a = 142:  455a26f09d unpack-trees: enable fscache for sparse-checkout
141:  cca704fc7c = 143:  ebf8ed4e37 status: disable and free fscache at the end of the status command
142:  f9c367d043 = 144:  b04e9edcf3 mem_pool: add GIT_TRACE_MEMPOOL support
143:  1d0363dff0 = 145:  7d26dee662 fscache: fscache takes an initial size
144:  e3ed4eb4f6 = 146:  336b292481 fscache: update fscache to be thread specific instead of global
145:  742a7fd1b3 = 147:  77fc409d88 fscache: teach fscache to use mempool
146:  3fcebd85d5 = 148:  88a943edcd fscache: make fscache_enable() thread safe
147:  12811712a3 = 149:  4223628db6 fscache: teach fscache to use NtQueryDirectoryFile
148:  745676ea6d = 150:  81ebeb313a fscache: remember the reparse tag for each entry
149:  df05ce52e9 = 151:  6e17faf300 fscache: implement an FSCache-aware is_mount_point()
150:  2bd85f70e0 = 152:  c46c59eb2f clean: make use of FSCache
151:  13db187d56 = 153:  6835e492b2 pack-objects (mingw): demonstrate a segmentation fault with large deltas
152:  cb739eb9e2 = 154:  407da180c3 mingw: support long paths
153:  175695a970 = 155:  b39f8b568c win32(long path support): leave drive-less absolute paths intact
154:  b3bce8be5f = 156:  5f4ecb0cc2 compat/fsmonitor/fsm-*-win32: support long paths
155:  2dbc242dcf = 157:  f75b409bb1 clean: suggest using `core.longPaths` if paths are too long to remove
156:  727b5a57b7 = 158:  2494b95ace mingw: Support `git_terminal_prompt` with more terminals
157:  a3a9241b36 = 159:  6b96dc2409 compat/terminal.c: only use the Windows console if bash 'read -r' fails
158:  c5dae7f2e5 = 160:  1246136d50 mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
164:  5d2b0b8149 = 161:  d8a3e56f19 Win32: symlink: move phantom symlink creation to a separate function
160:  3a897fb601 = 162:  857f1ec60d mingw: introduce code to detect whether we're inside a Windows container
165:  2a2b9f34f4 = 163:  16d1db9b02 Introduce helper to create symlinks that knows about index_state
162:  cd4a39df47 = 164:  189b88d5a8 mingw: when running in a Windows container, try to rename() harder
166:  a02c13d344 = 165:  e8cbec1b95 mingw: allow to specify the symlink type in .gitattributes
163:  d405f1c1c5 = 166:  ccc64b756a mingw: move the file_attr_to_st_mode() function definition
167:  a1f386fb61 = 167:  9ee09a596a Win32: symlink: add test for `symlink` attribute
188:  e8496c7983 = 168:  c6a82b77ae mingw: Windows Docker volumes are *not* symbolic links
168:  600812088c = 169:  de24036cd2 mingw: explicitly specify with which cmd to prefix the cmdline
193:  1cadd12f06 = 170:  c39ed8ca4c mingw: work around rename() failing on a read-only file
169:  f8cdb5dfd8 = 171:  e6e15a0070 mingw: when path_lookup() failed, try BusyBox
170:  9a63b0f5c5 = 172:  0171316dcb test-tool: learn to act as a drop-in replacement for `iconv`
171:  12fa58b2cd = 173:  395181a1c2 tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
172:  e38adb90c7 = 174:  a66f04a2ea gitattributes: mark .png files as binary
173:  00dd7edbd8 = 175:  d3735cb508 tests: move test PNGs into t/lib-diff/
174:  8fabcaf714 = 176:  93201ec3c2 tests: only override sort & find if there are usable ones in /usr/bin/
175:  af1ab62385 = 177:  4008756739 tests: use the correct path separator with BusyBox
176:  a8bf9b0122 = 178:  53ca82bc8c mingw: only use Bash-ism `builtin pwd -W` when available
177:  eb36a9fc00 = 179:  4bd1017ad2 tests (mingw): remove Bash-specific pwd option
178:  eab4892edc = 180:  29c5e8beb6 test-lib: add BUSYBOX prerequisite
179:  3a0ae03655 = 181:  c49f90d901 Describe Git for Windows' architecture [no ci]
180:  84b38852e0 = 182:  13062da617 t5003: use binary file from t/lib-diff/
181:  175cafec97 = 183:  ff0873218e Modify the Code of Conduct for Git for Windows
182:  94e0951c9d = 184:  abae4adb22 t5532: workaround for BusyBox on Windows
183:  efc9795221 = 185:  97b471f0d1 CONTRIBUTING.md: add guide for first-time contributors
184:  65e400d15f = 186:  331da73455 t5605: special-case hardlink test for BusyBox-w32
185:  3d49e6ec65 = 187:  7902ef38d5 README.md: Add a Windows-specific preamble
186:  4f079c052c = 188:  40ac035521 t5813: allow for $PWD to be a Windows path
187:  d1d3ee0a7f = 189:  d8eca3f31e Add an issue template
189:  7b975a6684 = 190:  32bfb8b786 t9200: skip tests when $PWD contains a colon
190:  eb0b672283 = 191:  2c4f09d731 mingw: kill child processes in a gentler way
191:  c5b99b0785 = 192:  890024eecb Add a GitHub workflow to monitor component updates
192:  fe4a6173cd = 193:  5a6aa50563 Modify the GitHub Pull Request template (to reflect Git for Windows)
194:  fbe72cd9cb = 194:  f975adee2e mingw: optionally enable wsl compability file mode bits
195:  432a1e63d0 = 195:  f59c52d7c7 mingw: really handle SIGINT
196:  6e5f846e81 = 196:  bfcbaca1e5 Partially un-revert "editor: save and reset terminal after calling EDITOR"
197:  57de6af710 = 197:  f41b776c44 reset: reinstate support for the deprecated --stdin option
198:  074119eefe = 198:  08992709ed fsmonitor: reintroduce core.useBuiltinFSMonitor
199:  c846bc9de6 = 199:  6f7548c310 dependabot: help keeping GitHub Actions versions up to date
200:  7248e89653 = 200:  9861b5398c SECURITY.md: document Git for Windows' policies

PhilipOakley and others added 30 commits February 26, 2026 01:49
Just like the `hash-object --literally` code path, the `--stdin` code
path also needs to use `size_t` instead of `unsigned long` to represent
memory sizes, otherwise it would cause problems on platforms using the
LLP64 data model (such as Windows).

To limit the scope of the test case, the object is explicitly not
written to the object store, nor are any filters applied.

The `big` file from the previous test case is reused to save setup time;
To avoid relying on that side effect, it is generated if it does not
exist (e.g. when running via `sh t1007-*.sh --long --run=1,41`).

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
By defining `USE_MIMALLOC`, Git can now be compiled with that
nicely-fast and small allocator.

Note that we have to disable a couple `DEVELOPER` options to build
mimalloc's source code, as it makes heavy use of declarations after
statements, among other things that disagree with Git's conventions.

We even have to silence some GCC warnings in non-DEVELOPER mode. For
example, the `-Wno-array-bounds` flag is needed because in `-O2` builds,
trying to call `NtCurrentTeb()` (which `_mi_thread_id()` does on
Windows) causes the bogus warning about a system header, likely related
to https://sourceforge.net/p/mingw-w64/mailman/message/37674519/ and to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578:

C:/git-sdk-64-minimal/mingw64/include/psdk_inc/intrin-impl.h:838:1:
        error: array subscript 0 is outside array bounds of 'long long unsigned int[0]' [-Werror=array-bounds]
  838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
      | ^~~~~~~~~~~~~~

Also: The `mimalloc` library uses C11-style atomics, therefore we must
require that standard when compiling with GCC if we want to use
`mimalloc` (instead of requiring "only" C99). This is what we do in the
CMake definition already, therefore this commit does not need to touch
`contrib/buildsystems/`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Some platforms (e.g. Windows) provide API functions to resolve paths
much quicker. Let's offer a way to short-cut `strbuf_realpath()` on
those platforms.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
When we commit the template directory as part of `make vcxproj`, the
`branches/` directory is not actually commited, as it is empty.

Two tests were not prepared for that situation.

This developer tried to get rid of the support for `.git/branches/` a
long time ago, but that effort did not bear fruit, so the best we can do
is work around in these here tests.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The vcpkg_install batch file depends on the availability of a
working Git on the CMD path. This may not be present if the user
has selected the 'bash only' option during Git-for-Windows install.

Detect and tell the user about their lack of a working Git in the CMD
window.

Fixes git-for-windows#2348.
A separate PR git-for-windows/build-extra#258
now highlights the recommended path setting during install.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
There are no Windows/ARM64 agents in GitHub Actions yet, therefore we
just skip adjusting the `vs-test` job for now.

Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The intention of this change is to align with how the top-level git
`Makefile` defines its own test target (which also internally calls
`$(MAKE) -C t/ all`). This change also ensures the consistency of
`make -C contrib/subtree test` with other testing in CI executions
(which rely on `$DEFAULT_TEST_TARGET` being defined as `prove`).

Signed-off-by: Victoria Dye <vdye@github.com>
In Git-for-Windows, work on using ARM64 has progressed. The
commit 2d94b77 (cmake: allow building for Windows/ARM64, 2020-12-04)
failed to notice that /compat/vcbuild/vcpkg_install.bat will default to
using the "x64-windows" architecture for the vcpkg installation if not set,
but CMake is not told of this default. Commit 635b6d9 (vcbuild: install
ARM64 dependencies when building ARM64 binaries, 2020-01-31) later updated
vcpkg_install.bat to accept an arch (%1) parameter, but retained the default.

This default is neccessary for the use case where the project directory is
opened directly in Visual Studio, which will find and build a CMakeLists.txt
file without any parameters, thus expecting use of the default setting.

Also Visual studio will generate internal .sln solution and .vcxproj project
files needed for some extension tools. Inform users of the additional
.sln/.vcxproj generation.

** How to test:
 rm -rf '.vs' # remove old visual studio settings
 rm -rf 'compat/vcbuild/vcpkg' # remove any vcpkg downloads
 rm -rf 'contrib/buildsystems/out' # remove builds & CMake artifacts
 with a fresh Visual Studio Community Edition, File>>Open>>(git *folder*)
   to load the project (which will take some time!).
 check for successful compilation.
The implicit .sln (etc.) are in the hidden .vs directory created by
Visual Studio.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
To complement the `--stdin` and `--literally` test cases that verify
that we can hash files larger than 4GB on 64-bit platforms using the
LLP64 data model, here is a test case that exercises `hash-object`
_without_ any options.

Just as before, we use the `big` file from the previous test case if it
exists to save on setup time, otherwise generate it.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Thorough benchmarking with repacking a subset of linux.git (the commit
history reachable from 93a6fef ([PATCH] fix the SYSCTL=n compilation,
2007-02-28), to be precise) suggest that this allocator is on par, in
multi-threaded situations maybe even better than nedmalloc:

`git repack -adfq` with mimalloc, 8 threads:

31.166991900 27.576763800 28.712311000 27.373859000 27.163141900

`git repack -adfq` with nedmalloc, 8 threads:

31.915032900 27.149883100 28.244933700 27.240188800 28.580849500

In a different test using GitHub Actions build agents (probably
single-threaded, a core-strength of nedmalloc)):

`git repack -q -d -l -A --unpack-unreachable=2.weeks.ago` with mimalloc:

943.426 978.500 939.709 959.811 954.605

`git repack -q -d -l -A --unpack-unreachable=2.weeks.ago` with nedmalloc:

995.383 952.179 943.253 963.043 980.468

While these measurements were not executed with complete scientific
rigor, as no hardware was set aside specifically for these benchmarks,
it shows that mimalloc and nedmalloc perform almost the same, nedmalloc
with a bit higher variance and also slightly higher average (further
testing suggests that nedmalloc performs worse in multi-threaded
situations than in single-threaded ones).

In short: mimalloc seems to be slightly better suited for our purposes
than nedmalloc.

Seeing that mimalloc is developed actively, while nedmalloc ceased to
see any updates in eight years, let's use mimalloc on Windows instead.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Since commit 0c499ea (send-pack: demultiplex a sideband stream with
status data, 2010-02-05) the send-pack builtin uses the side-band-64k
capability if advertised by the server.

Unfortunately this breaks pushing over the dump git protocol if used
over a network connection.

The detailed reasons for this breakage are (by courtesy of Jeff Preshing,
quoted from https://groups.google.com/d/msg/msysgit/at8D7J-h7mw/eaLujILGUWoJ):

	MinGW wraps Windows sockets in CRT file descriptors in order to
	mimic the functionality of POSIX sockets. This causes msvcrt.dll
	to treat sockets as Installable File System (IFS) handles,
	calling ReadFile, WriteFile, DuplicateHandle and CloseHandle on
	them. This approach works well in simple cases on recent
	versions of Windows, but does not support all usage patterns. In
	particular, using this approach, any attempt to read & write
	concurrently on the same socket (from one or more processes)
	will deadlock in a scenario where the read waits for a response
	from the server which is only invoked after the write. This is
	what send_pack currently attempts to do in the use_sideband
	codepath.

The new config option `sendpack.sideband` allows to override the
side-band-64k capability of the server, and thus makes the dumb git
protocol work.

Other transportation methods like ssh and http/https still benefit from
the sideband channel, therefore the default value of `sendpack.sideband`
is still true.

Signed-off-by: Thomas Braun <thomas.braun@byte-physics.de>
Signed-off-by: Oliver Schneider <oliver@assarbad.net>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
In 1e64d18 (mingw: do resolve symlinks in `getcwd()`) a problem was
introduced that causes git for Windows to stop working with certain
mapped network drives (in particular, drives that are mapped to
locations with long path names). Error message was "fatal: Unable to
read current working directory: No such file or directory". Present
change fixes this issue as discussed in
git-for-windows#2480

Signed-off-by: Bjoern Mueller <bjoernm@gmx.de>
Update clink.pl to link with either libcurl.lib or libcurl-d.lib
depending on whether DEBUG=1 is set.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
There is a Win32 API function to resolve symbolic links, and we can use
that instead of resolving them manually. Even better, this function also
resolves NTFS junction points (which are somewhat similar to bind
mounts).

This fixes git-for-windows#2481.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The native Windows HTTPS backend is based on Secure Channel which lets
the caller decide how to handle revocation checking problems caused by
missing information in the certificate or offline CRL distribution
points.

Unfortunately, cURL chose to handle these problems differently than
OpenSSL by default: while OpenSSL happily ignores those problems
(essentially saying "¯\_(ツ)_/¯"), the Secure Channel backend will error
out instead.

As a remedy, the "no revoke" mode was introduced, which turns off
revocation checking altogether. This is a bit heavy-handed. We support
this via the `http.schannelCheckRevoke` setting.

In curl/curl#4981, we contributed an opt-in
"best effort" strategy that emulates what OpenSSL seems to do.

In Git for Windows, we actually want this to be the default. This patch
makes it so, introducing it as a new value for the
`http.schannelCheckRevoke" setting, which now becmes a tristate: it
accepts the values "false", "true" or "best-effort" (defaulting to the
last one).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The convention in Git project's shell scripts is to have white-space
_before_, but not _after_ the `>` (or `<`).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This change enhances `git commit --cleanup=scissors` by detecting
scissors lines ending in either LF (UNIX-style) or CR/LF (DOS-style).

Regression tests are included to specifically test for trailing
comments after a CR/LF-terminated scissors line.

Signed-off-by: Luke Bonanomi <lbonanomi@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
For some reason, this test case was indented with 4 spaces instead of 1
horizontal tab. The other test cases in the same test script are fine.

Signed-off-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
As of Git v2.28.0, the diff for files staged via `git add -N` marks them
as new files. Git GUI was ill-prepared for that, and this patch teaches
Git GUI about them.

Please note that this will not even fix things with v2.28.0, as the
`rp/apply-cached-with-i-t-a` patches are required on Git's side, too.

This fixes git-for-windows#2779

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
The vcpkg downloads may not succeed. Warn careful readers of the time out.

A simple retry will usually resolve the issue.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
Git's regular Makefile mentions that HOST_CPU should be defined when cross-compiling Git: https://github.com/git-for-windows/git/blob/37796bca76ef4180c39ee508ca3e42c0777ba444/Makefile#L438-L439

This is then used to set the GIT_HOST_CPU variable when compiling Git: https://github.com/git-for-windows/git/blob/37796bca76ef4180c39ee508ca3e42c0777ba444/Makefile#L1337-L1341

Then, when the user runs `git version --build-options`, it returns that value: https://github.com/git-for-windows/git/blob/37796bca76ef4180c39ee508ca3e42c0777ba444/help.c#L658

This commit adds the same functionality to the CMake configuration. Users can now set -DHOST_CPU= to set the target architecture.

Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
As reported in newren/git-filter-repo#225, it
looks like 99 bytes is not really sufficient to represent e.g. the full
path to Python when installed via Windows Store (and this path is used
in the hasb bang line when installing scripts via `pip`).

Let's increase it to what is probably the maximum sensible path size:
MAX_PATH. This makes `parse_interpreter()` in line with what
`lookup_prog()` handles.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Vilius Šumskas <vilius@sumskas.eu>
We used to have that `make vcxproj` hack, but a hack it is. In the
meantime, we have a much cleaner solution: using CMake, either
explicitly, or even more conveniently via Visual Studio's built-in CMake
support (simply open Git's top-level directory via File>Open>Folder...).

Let's let the `README` reflect this.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This adds support for a new http.sslAutoClientCert config value.

In cURL 7.77 or later the schannel backend does not automatically send
client certificates from the Windows Certificate Store anymore.

This config value is only used if http.sslBackend is set to "schannel",
and can be used to opt in to the old behavior and force cURL to send
client certificates.

This fixes git-for-windows#3292

Signed-off-by: Pascal Muller <pascalmuller@gmail.com>
Because `git subtree` (unlike most other `contrib` modules) is included as
part of the standard release of Git for Windows, its stability should be
verified as consistently as it is for the rest of git. By including the
`git subtree` tests in the CI workflow, these tests are as much of a gate to
merging and indicator of stability as the standard test suite.

Signed-off-by: Victoria Dye <vdye@github.com>
Ensure key CMake option values are part of the CMake output to
facilitate user support when tool updates impact the wider CMake
actions, particularly ongoing 'improvements' in Visual Studio.

These CMake displays perform the same function as the build-options.txt
provided in the main Git for Windows. CMake is already chatty.
The setting of CMAKE_EXPORT_COMPILE_COMMANDS is also reported.

Include the environment's CMAKE_EXPORT_COMPILE_COMMANDS value which
may have been propogated to CMake's internal value.

Testing the CMAKE_EXPORT_COMPILE_COMMANDS processing can be difficult
in the Visual Studio environment, as it may be cached in many places.
The 'environment' may include the OS, the user shell, CMake's
own environment, along with the Visual Studio presets and caches.

See previous commit for arefacts that need removing for a clean test.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
To verify that the `clean` side of the `clean`/`smudge` filter code is
correct with regards to LLP64 (read: to ensure that `size_t` is used
instead of `unsigned long`), here is a test case using a trivial filter,
specifically _not_ writing anything to the object store to limit the
scope of the test case.

As in previous commits, the `big` file from previous test cases is
reused if available, to save setup time, otherwise re-generated.

Signed-off-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho and others added 30 commits February 26, 2026 01:49
The Git project followed Git for Windows' lead and added their Code of
Conduct, based on the Contributor Covenant v1.4, later updated to v2.0.

We adapt it slightly to Git for Windows.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
While it may seem super convenient to some old Unix hands to simpy
require Perl to be available when running the test suite, this is a
major hassle on Windows, where we want to verify that Perl is not,
actually, required in a NO_PERL build.

As a super ugly workaround, we "install" a script into /usr/bin/perl
reading like this:

	#!/bin/sh

	# We'd much rather avoid requiring Perl altogether when testing
	# an installed Git. Oh well, that's why we cannot have nice
	# things.
	exec c:/git-sdk-64/usr/bin/perl.exe "$@"

The problem with that is that BusyBox assumes that the #! line in a
script refers to an executable, not to a script. So when it encounters
the line #!/usr/bin/perl in t5532's proxy-get-cmd, it barfs.

Let's help this situation by simply executing the Perl script with the
"interpreter" specified explicitly.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Getting started contributing to Git can be difficult on a Windows
machine. CONTRIBUTING.md contains a guide to getting started, including
detailed steps for setting up build tools, running tests, and
submitting patches to upstream.

[includes an example by Pratik Karki how to submit v2, v3, v4, etc.]

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
When t5605 tries to verify that files are hardlinked (or that they are
not), it uses the `-links` option of the `find` utility.

BusyBox' implementation does not support that option, and BusyBox-w32's
lstat() does not even report the number of hard links correctly (for
performance reasons).

So let's just switch to a different method that actually works on
Windows.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This was pull request git-for-windows#1645 from ZCube/master

Support windows container.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Includes touch-ups by 마누엘, Philip Oakley and 孙卓识.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Git for Windows uses MSYS2's Bash to run the test suite, which comes
with benefits but also at a heavy price: on the plus side, MSYS2's
POSIX emulation layer allows us to continue pretending that we are on a
Unix system, e.g. use Unix paths instead of Windows ones, yet this is
bought at a rather noticeable performance penalty.

There *are* some more native ports of Unix shells out there, though,
most notably BusyBox-w32's ash. These native ports do not use any POSIX
emulation layer (or at most a *very* thin one, choosing to avoid
features such as fork() that are expensive to emulate on Windows), and
they use native Windows paths (usually with forward slashes instead of
backslashes, which is perfectly legal in almost all use cases).

And here comes the problem: with a $PWD looking like, say,
C:/git-sdk-64/usr/src/git/t/trash directory.t5813-proto-disable-ssh
Git's test scripts get quite a bit confused, as their assumptions have
been shattered. Not only does this path contain a colon (oh no!), it
also does not start with a slash.

This is a problem e.g. when constructing a URL as t5813 does it:
ssh://remote$PWD. Not only is it impossible to separate the "host" from
the path with a $PWD as above, even prefixing $PWD by a slash won't
work, as /C:/git-sdk-64/... is not a valid path.

As a workaround, detect when $PWD does not start with a slash on
Windows, and simply strip the drive prefix, using an obscure feature of
Windows paths: if an absolute Windows path starts with a slash, it is
implicitly prefixed by the drive prefix of the current directory. As we
are talking about the current directory here, anyway, that strategy
works.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
…ws#4527)

With this patch, Git for Windows works as intended on mounted APFS
volumes (where renaming read-only files would fail).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
With improvements by Clive Chan, Adric Norris, Ben Bodenmiller and
Philip Oakley.

Helped-by: Clive Chan <cc@clive.io>
Helped-by: Adric Norris <landstander668@gmail.com>
Helped-by: Ben Bodenmiller <bbodenmiller@hotmail.com>
Helped-by: Philip Oakley <philipoakley@iee.org>
Signed-off-by: Brendan Forster <brendan@github.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
On Windows, the current working directory is pretty much guaranteed to
contain a colon. If we feed that path to CVS, it mistakes it for a
separator between host and port, though.

This has not been a problem so far because Git for Windows uses MSYS2's
Bash using a POSIX emulation layer that also pretends that the current
directory is a Unix path (at least as long as we're in a shell script).

However, that is rather limiting, as Git for Windows also explores other
ports of other Unix shells. One of those is BusyBox-w32's ash, which is
a native port (i.e. *not* using any POSIX emulation layer, and certainly
not emulating Unix paths).

So let's just detect if there is a colon in $PWD and punt in that case.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The TerminateProcess() function does not actually leave the child
processes any chance to perform any cleanup operations. This is bad
insofar as Git itself expects its signal handlers to run.

A symptom is e.g. a left-behind .lock file that would not be left behind
if the same operation was run, say, on Linux.

To remedy this situation, we use an obscure trick: we inject a thread
into the process that needs to be killed and to let that thread run the
ExitProcess() function with the desired exit status. Thanks J Wyman for
describing this trick.

The advantage is that the ExitProcess() function lets the atexit
handlers run. While this is still different from what Git expects (i.e.
running a signal handler), in practice Git sets up signal handlers and
atexit handlers that call the same code to clean up after itself.

In case that the gentle method to terminate the process failed, we still
fall back to calling TerminateProcess(), but in that case we now also
make sure that processes spawned by the spawned process are terminated;
TerminateProcess() does not give the spawned process a chance to do so
itself.

Please note that this change only affects how Git for Windows tries to
terminate processes spawned by Git's own executables. Third-party
software that *calls* Git and wants to terminate it *still* need to make
sure to imitate this gentle method, otherwise this patch will not have
any effect.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Rather than using private IFTTT Applets that send mails to this
maintainer whenever a new version of a Git for Windows component was
released, let's use the power of GitHub workflows to make this process
publicly visible.

This workflow monitors the Atom/RSS feeds, and opens a ticket whenever a
new version was released.

Note: Bash sometimes releases multiple patched versions within a few
minutes of each other (i.e. 5.1p1 through 5.1p4, 5.0p15 and 5.0p16). The
MSYS2 runtime also has a similar system. We can address those patches as
a group, so we shouldn't get multiple issues about them.

Note further: We're not acting on newlib releases, OpenSSL alphas, Perl
release candidates or non-stable Perl releases. There's no need to open
issues about them.

Co-authored-by: Matthias Aßhauer <mha1993@live.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Git for Windows accepts pull requests; Core Git does not. Therefore we
need to adjust the template (because it only matches core Git's
project management style, not ours).

Also: direct Git for Windows enhancements to their contributions page,
space out the text for easy reading, and clarify that the mailing list
is plain text, not HTML.

Signed-off-by: Philip Oakley <philipoakley@iee.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The Windows Subsystem for Linux (WSL) version 2 allows to use `chmod` on
NTFS volumes provided that they are mounted with metadata enabled (see
https://devblogs.microsoft.com/commandline/chmod-chown-wsl-improvements/
for details), for example:

	$ chmod 0755 /mnt/d/test/a.sh

In order to facilitate better collaboration between the Windows
version of Git and the WSL version of Git, we can make the Windows
version of Git also support reading and writing NTFS file modes
in a manner compatible with WSL.

Since this slightly slows down operations where lots of files are
created (such as an initial checkout), this feature is only enabled when
`core.WSLCompat` is set to true. Note that you also have to set
`core.fileMode=true` in repositories that have been initialized without
enabling WSL compatibility.

There are several ways to enable metadata loading for NTFS volumes
in WSL, one of which is to modify `/etc/wsl.conf` by adding:

```
[automount]
enabled = true
options = "metadata,umask=027,fmask=117"
```

And reboot WSL.

It can also be enabled temporarily by this incantation:

	$ sudo umount /mnt/c &&
	  sudo mount -t drvfs C: /mnt/c -o metadata,uid=1000,gid=1000,umask=22,fmask=111

It's important to note that this modification is compatible with, but
does not depend on WSL. The helper functions in this commit can operate
independently and functions normally on devices where WSL is not
installed or properly configured.

Signed-off-by: xungeng li <xungeng@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Previously, we did not install any handler for Ctrl+C, but now we really
want to because the MSYS2 runtime learned the trick to call the
ConsoleCtrlHandler when Ctrl+C was pressed.

With this, hitting Ctrl+C while `git log` is running will only terminate
the Git process, but not the pager. This finally matches the behavior on
Linux and on macOS.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
…ITOR"

In e3f7e01 (Revert "editor: save and reset terminal after calling
EDITOR", 2021-11-22), we reverted the commit wholesale where the
terminal state would be saved and restored before/after calling an
editor.

The reverted commit was intended to fix a problem with Windows Terminal
where simply calling `vi` would cause problems afterwards.

To fix the problem addressed by the revert, but _still_ keep the problem
with Windows Terminal fixed, let's revert the revert, with a twist: we
restrict the save/restore _specifically_ to the case where `vi` (or
`vim`) is called, and do not do the same for any other editor.

This should still catch the majority of the cases, and will bridge the
time until the original patch is re-done in a way that addresses all
concerns.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The `--stdin` option was a well-established paradigm in other commands,
therefore we implemented it in `git reset` for use by Visual Studio.

Unfortunately, upstream Git decided that it is time to introduce
`--pathspec-from-file` instead.

To keep backwards-compatibility for some grace period, we therefore
reinstate the `--stdin` option on top of the `--pathspec-from-file`
option, but mark it firmly as deprecated.

Helped-by: Victoria Dye <vdye@github.com>
Helped-by: Matthew John Cheetham <mjcheetham@outlook.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reintroduce the 'core.useBuiltinFSMonitor' config setting (originally added
in 0a756b2 (fsmonitor: config settings are repository-specific,
2021-03-05)) after its removal from the upstream version of FSMonitor.

Upstream, the 'core.useBuiltinFSMonitor' setting was rendered obsolete by
"overloading" the 'core.fsmonitor' setting to take a boolean value. However,
several applications (e.g., 'scalar') utilize the original config setting,
so it should be preserved for a deprecation period before complete removal:

* if 'core.fsmonitor' is a boolean, the user is correctly using the new
  config syntax; do not use 'core.useBuiltinFSMonitor'.
* if 'core.fsmonitor' is unspecified, use 'core.useBuiltinFSMonitor'.
* if 'core.fsmonitor' is a path, override and use the builtin FSMonitor if
  'core.useBuiltinFSMonitor' is 'true'; otherwise, use the FSMonitor hook
  indicated by the path.

Additionally, for this deprecation period, advise users to switch to using
'core.fsmonitor' to specify their use of the builtin FSMonitor.

Signed-off-by: Victoria Dye <vdye@github.com>
This is the recommended way on GitHub to describe policies revolving around
security issues and about supported versions.

Helped-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This patch introduces support to set special NTFS attributes that are
interpreted by the Windows Subsystem for Linux as file mode bits, UID
and GID.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Handle Ctrl+C in Git Bash nicely

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
A fix for calling `vim` in Windows Terminal caused a regression and was
reverted. We partially un-revert this, to get the fix again.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This topic branch re-adds the deprecated --stdin/-z options to `git
reset`. Those patches were overridden by a different set of options in
the upstream Git project before we could propose `--stdin`.

We offered this in MinGit to applications that wanted a safer way to
pass lots of pathspecs to Git, and these applications will need to be
adjusted.

Instead of `--stdin`, `--pathspec-from-file=-` should be used, and
instead of `-z`, `--pathspec-file-nul`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Originally introduced as `core.useBuiltinFSMonitor` in Git for Windows
and developed, improved and stabilized there, the built-in FSMonitor
only made it into upstream Git (after unnecessarily long hemming and
hawing and throwing overly perfectionist style review sticks into the
spokes) as `core.fsmonitor = true`.

In Git for Windows, with this topic branch, we re-introduce the
now-obsolete config setting, with warnings suggesting to existing users
how to switch to the new config setting, with the intention to
ultimately drop the patch at some stage.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
…updates

Start monitoring updates of Git for Windows' component in the open
Add a README.md for GitHub goodness.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.