Rebase shears/main (#31064713262) - #357
Open
gitforwindowshelper[bot] wants to merge 343 commits into
Open
Conversation
When running Git for Windows on a remote APFS filesystem, it would appear that the `mingw_open_append()`/`write()` combination would fail almost exactly like on some CIFS-mounted shares as had been reported in git-for-windows#2753, albeit with a different `errno` value. Let's handle that `errno` value just the same, by suggesting to set `windows.appendAtomically=false`. Signed-off-by: David Lomas <dl3@pale-eds.co.uk> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Windows 10 version 1511 (also known as Anniversary Update), according to https://learn.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences introduced native support for ANSI sequence processing. This allows using colors from the entire 24-bit color range. All we need to do is test whether the console's "virtual processing support" can be enabled. If it can, we do not even need to start the `console_thread` to handle ANSI sequences. Or, almost all we need to do: When `console_thread()` does its work, it uses the Unicode-aware `write_console()` function to write to the Win32 Console, which supports Git for Windows' implicit convention that all text that is written is encoded in UTF-8. The same is not necessarily true if native ANSI sequence processing is used, as the output is then subject to the current code page. Let's ensure that the code page is set to `CP_UTF8` as long as Git writes to it. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
By default, the buffer type of Windows' `stdout` is unbuffered (_IONBF), and there is no need to manually fflush `stdout`. But some programs, such as the Windows Filtering Platform driver provided by the security software, may change the buffer type of `stdout` to full buffering. This nees `fflush(stdout)` to be called manually, otherwise there will be no output to `stdout`. Signed-off-by: MinarKotonoha <chengzhuo5@qq.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
A long time ago, we decided to run tests in Git for Windows' SDK with the default `winsymlinks` mode: copying instead of linking. This is still the default mode of MSYS2 to this day. However, this is not how most users run Git for Windows: As the majority of Git for Windows' users seem to be on Windows 10 and newer, likely having enabled Developer Mode (which allows creating symbolic links without administrator privileges), they will run with symlink support enabled. This is the reason why it is crucial to get the fixes for CVE-2024-? to the users, and also why it is crucial to ensure that the test suite exercises the related test cases. This commit ensures the latter. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
In order to be a better Windows citizenship, Git should save its configuration files on AppData folder. This can enables git configuration files be replicated between machines using the same Microsoft account logon which would reduce the friction of setting up Git on new systems. Therefore, if %APPDATA%\Git\config exists, we use it; otherwise $HOME/.config/git/config is used. Signed-off-by: Ariel Lourenco <ariellourenco@users.noreply.github.com>
The sparse tree walk algorithm was created in d5d2e93 (revision: implement sparse algorithm, 2019-01-16) and involves using the mark_trees_uninteresting_sparse() method. This method takes a repository and an oidset of tree IDs, some of which have the UNINTERESTING flag and some of which do not. Create a method that has an equivalent set of preconditions but uses a "dense" walk (recursively visits all reachable trees, as long as they have not previously been marked UNINTERESTING). This is an important difference from mark_tree_uninteresting(), which short-circuits if the given tree has the UNINTERESTING flag. A use of this method will be added in a later change, with a condition set whether the sparse or dense approach should be used. Signed-off-by: Derrick Stolee <stolee@gmail.com>
While this command is definitely something we _want_, chances are that upstreaming this will require substantial changes. We still want to be able to experiment with this before that, to focus on what we need out of this command: To assist with diagnosing issues with large repositories, as well as to help monitoring the growth and the associated painpoints of such repositories. To that end, we are about to integrate this command into `microsoft/git`, to get the tool into the hands of users who need it most, with the idea to iterate in close collaboration between these users and the developers familar with Git's internals. However, we will definitely want to avoid letting anybody have the impression that this command, its exact inner workings, as well as its output format, are anywhere close to stable. To make that fact utterly clear (and thereby protect the freedom to iterate and innovate freely before upstreaming the command), let's mark its output as experimental in all-caps, as the first thing we do. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
In 245670c (credential-cache: check for windows specific errors, 2021-09-14) we concluded that on Windows we would always encounter ENETDOWN where we would expect ECONNREFUSED on POSIX systems, when connecting to unix sockets. As reported in [1], we do encounter ECONNREFUSED on Windows if the socket file doesn't exist, but the containing directory does and ENETDOWN if neither exists. We should handle this case like we do on non-windows systems. [1] git-for-windows#4762 (comment) This fixes git-for-windows#5314 Helped-by: M Hickford <mirth.hickford@gmail.com> Signed-off-by: Matthias Aßhauer <mha1993@live.de> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The reftable library goes out of its way to use its own set of allocator functions that can be configured using `reftable_set_alloc()`. However, Git does not configure this. That is not typically a problem, except when Git uses a custom allocator via some definitions in `git-compat-util.h`, as is the case in Git for Windows (which switched away from the long-unmaintained nedmalloc to mimalloc). Then, it is quite possible that Git assigns a `strbuf` (allocated via the custom allocator) to, say, the `refname` field of a `reftable_log_record` in `write_transaction_table()`, and later on asks the reftable library function `reftable_log_record_release()` to release it, but that function was compiled without using `git-compat-util.h` and hence calls regular `free()` (i.e. _not_ the custom allocator's own function). This has been a problem for a long time and it was a matter of some sort of "luck" that 1) reftables are not commonly used on Windows, and 2) mimalloc can often ignore gracefully when it is asked to release memory that it has not allocated. However, a recent update to `seen` brought this problem to the forefront, letting t1460 fail in Git for Windows, with symptoms much in the same way as the problem I had to address in d02c37c (t-reftable-basics: allow for `malloc` to be `#define`d, 2025-01-08) where exit code 127 was also produced in lieu of `STATUS_HEAP_CORRUPTION` (C0000374) because exit codes are only 7 bits wide. It was not possible to figure out what change in particular caused these new failures within a reasonable time frame, as there are too many changes in `seen` that conflict with Git for Windows' patches, I had to stop the investigation after spending four hours on it fruitlessly. To verify that this patch fixes the issue, I avoided using mimalloc and temporarily patched in a "custom allocator" that would more reliably point out problems, like this: diff --git a/refs/reftable-backend.c b/refs/reftable-backend.c index 68f3829..9421d630b9f5 100644 --- a/refs/reftable-backend.c +++ b/refs/reftable-backend.c @@ -353,6 +353,69 @@ static int reftable_be_fsync(int fd) return fsync_component(FSYNC_COMPONENT_REFERENCE, fd); } +#define DEBUG_REFTABLE_ALLOC +#ifdef DEBUG_REFTABLE_ALLOC +#include "khash.h" + +static inline khint_t __ac_X31_hash_ptr(void *ptr) +{ + union { + void *ptr; + char s[sizeof(void *)]; + } u; + size_t i; + khint_t h; + + u.ptr = ptr; + h = (khint_t)*u.s; + for (i = 0; i < sizeof(void *); i++) + h = (h << 5) - h + (khint_t)u.s[i]; + return h; +} + +#define kh_ptr_hash_func(key) __ac_X31_hash_ptr(key) +#define kh_ptr_hash_equal(a, b) ((a) == (b)) + +KHASH_INIT(ptr, void *, int, 0, kh_ptr_hash_func, kh_ptr_hash_equal) + +static kh_ptr_t *my_malloced; + +static void *my_malloc(size_t sz) +{ + int dummy; + void *ptr = malloc(sz); + if (ptr) + kh_put_ptr(my_malloced, ptr, &dummy); + return ptr; +} + +static void *my_realloc(void *ptr, size_t sz) +{ + int dummy; + if (ptr) { + khiter_t pos = kh_get_ptr(my_malloced, ptr); + if (pos >= kh_end(my_malloced)) + die("Was not my_malloc()ed: %p", ptr); + kh_del_ptr(my_malloced, pos); + } + ptr = realloc(ptr, sz); + if (ptr) + kh_put_ptr(my_malloced, ptr, &dummy); + return ptr; +} + +static void my_free(void *ptr) +{ + if (ptr) { + khiter_t pos = kh_get_ptr(my_malloced, ptr); + if (pos >= kh_end(my_malloced)) + die("Was not my_malloc()ed: %p", ptr); + kh_del_ptr(my_malloced, pos); + } + free(ptr); +} +#endif + static struct ref_store *reftable_be_init(struct repository *repo, const char *gitdir, unsigned int store_flags) @@ -362,6 +425,11 @@ static struct ref_store *reftable_be_init(struct repository *repo, int is_worktree; mode_t mask; +#ifdef DEBUG_REFTABLE_ALLOC + my_malloced = kh_init_ptr(); + reftable_set_alloc(my_malloc, my_realloc, my_free); +#endif + mask = umask(0); umask(mask); I briefly considered contributing this "custom allocator" patch, too, but it is unwieldy (for example, it would not work at all when compiling with mimalloc support) and it would only waste space (or even time, if a compile flag was introduced and exercised as part of the CI builds). Given that it is highly unlikely that Git will lose the new `reftable_set_alloc()` call by mistake, I rejected that idea as simply too wasteful. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Every once in a while, whitespace errors are introduced in Git for Windows' rebases to newer Git versions, simply by virtue of integrating upstream commits that do not follow upstream Git's own whitespace rule. In Git v2.50.0-rc0, for example, 03f2915 (xdiff: disable cleanup_records heuristic with --minimal, 2025-04-29) introduced a trailing space. Arguably, non-actionable alerts are worse than no alerts at all, so let's suppress those alerts that we cannot do anything about, anyway. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The 2.53.0.rc0.windows release candidate had a regression where writing to stderr from a pre-push hook would error out. The regression was fixed in 2.53.0.rc1.windows and the test here ensures that this stays fixed. Signed-off-by: Thomas Braun <thomas.braun@virtuell-zuhause.de>
The previous commits disabled NTLM authentication by default due to its cryptographic weaknesses. Users can re-enable it via the config setting http.<url>.allowNTLMAuth, but this requires manual intervention. Credential helpers may have knowledge about which servers are trusted for NTLM authentication (e.g., known on-prem Azure DevOps instances). To allow them to signal this trust, introduce a simple negotiation: when NTLM is suppressed and the server offered it, Git advertises ntlm=suppressed to the credential helper. The helper can respond with ntlm=allow to re-enable NTLM for this request. This happens precisely at the point where we would otherwise warn the user about NTLM being suppressed, ensuring the capability is only advertised when relevant. Helped-by: Matthew John Cheetham <mjcheetham@outlook.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Preparation for widening the delta-encoding API to size_t in subsequent commits, which is what lets pack-objects drop the cast_size_t_to_ulong() shims that 606c192 (odb, packfile: use size_t for streaming object sizes, 2026-05-08) had to leave behind in get_delta() and try_delta() because their downstream consumers were still narrow. The struct is private to diff-delta.c, so widening its fields in isolation is a no-op at runtime: the values stored continue to fit in 32 bits on Windows because the public API around it still truncates. Splitting it out keeps the API-change commit focused on caller updates. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The sole caller (try_delta() in builtin/pack-objects.c) passes an unsigned long, which promotes safely, so no caller fixups are needed. Splitting it out keeps the diff_delta() / create_delta() widening, which does ripple to several callers, in its own commit. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
These three are a single accounting tuple (the globals tracking cumulative cached-delta bytes, plus the helper that compares them against an incoming delta size) and are latently 32-bit on Windows where unsigned long != size_t: a pack with many large cached deltas could wrap silently. The widening is internally consistent on its own: the additions and subtractions against delta_cache_size already come from size_t sources (DELTA_SIZE() returns size_t), and delta_cacheable()'s sole caller in try_delta() still passes unsigned long, which promotes. Prerequisite for dropping try_delta()'s cast_size_t_to_ulong() shims, which becomes possible once create_delta() and diff_delta() are widened in a later commit. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
free_unpacked() sums two byte counts: sizeof_delta_index() and SIZE(n->entry). The latter has been size_t since the prior topic "More work supporting objects larger than 4GB on Windows" widened SIZE() / oe_size() to size_t, so accumulating it into an unsigned long return was a silent Windows-only truncation on a packing run with many large objects. The sole caller (find_deltas()) holds its own mem_usage in an unsigned long for now and subtracts the return into it, so the new narrowing happens at that subtraction. find_deltas() and the matching try_delta() out-parameter are widened next. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The pair must move together because find_deltas() passes &mem_usage to try_delta(): widening either alone breaks the type match. mem_usage accumulates per-object byte counts already computed in size_t (SIZE() and sizeof_delta_index() reach here through free_unpacked(), now size_t), and was the last 32-bit-on-Windows narrowing point in the delta-window memory accounting chain. With this commit, that chain is internally size_t end-to-end except for sizeof_delta_index()'s still-narrow return, whose value is bounded by create_delta_index()'s entries cap. window_memory_limit (config-driven via git_config_ulong()) stays unsigned long: it is only compared against mem_usage and promotes. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Last stop in the delta-encoding API widening for >4 GiB blobs on
Windows: with create_delta_index() done in the prior commit and
create_delta()/diff_delta() finished here, every byte count that
crosses delta.h is now size_t. The struct fields they store into
have been size_t since the diff-delta struct widening.
The API change must move with all callers in the same commit (the
build only passes when every &delta_size matches the new size_t*).
Caller updates are kept minimal:
* builtin/pack-objects.c get_delta() and try_delta(): widen only
the local delta_size variable; the surrounding unsigned-long
locals and their cast_size_t_to_ulong() shims are out of scope
here and will be cleaned up in their own commits.
* builtin/fast-import.c, diff.c, t/helper/test-pack-deltas.c:
keep the local unsigned-long delta size (each feeds a still-
unsigned-long downstream consumer: zlib's avail_in,
deflate_it(), the test helper's own do_compress()), and bridge
via a temporary size_t plus cast_size_t_to_ulong(). The new
casts are paid back in later topics that widen those consumers.
* t/helper/test-delta.c: widen the local outright (no downstream
consumer beyond the test's own out_size, which is already
size_t).
Assisted-by: Opus 4.7
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Continue the size_t evacuation around large object handling: with deflate_it() and the locals around it widened, the cast_size_t_to_ulong() shim the prior delta_delta() widening had to leave behind in emit_binary_diff_body() goes away. deflate_it() is file-static; the only callers are the two in emit_binary_diff_body() already touched here. emit_diff_symbol() formats the resulting sizes via uintmax_t / %"PRIuMAX", so the diff output is not affected; only the per-process upper bound on a binary patch chunk that this function can address grows beyond 4 GiB on Windows. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Bundling the two widenings: four call sites pass &stream.avail_in directly to use_pack(), and widening either type fencepost alone would force a bridge variable at each. Doing both together is the simpler end state and is the prerequisite for the do_compress() widening in the next commit, which is what lets write_no_reuse_object() lose its last cast_size_t_to_ulong() shim. The unsigned-long locals widened at the other use_pack() callers (avail / remaining / left) hold pack-window sizes bounded by core.packedGitWindowSize, so the change is type consistency rather than a new >4GB capability. git_zstream.avail_in / avail_out likewise reach zlib's uInt fields only after zlib_buf_cap()'s 1 GiB cap, so the wrapper already accepted size_t-shaped inputs in practice. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Prep for the upcoming read_blob_data_from_index() widening, whose callers in convert.c feed the size they receive straight into these two helpers. Both are file-static, so the change is contained. Also fixes a small pre-existing narrowing on the get_wt_convert_stats_ascii() path, where strbuf.len (size_t) was passed to a unsigned long parameter. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Prep for the upcoming git_deflate_bound() widening to size_t: the local that catches its return needs to be size_t too, otherwise the widening would introduce a silent Windows narrowing here. No semantic effect with the current unsigned-long-returning git_deflate_bound() (size_t == unsigned long on this caller's platforms today). Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Continue the size_t evacuation. read_blob_data_from_index() reads the blob through the size_t odb_read_object() API but writes the size back through an unsigned long out-parameter, silently truncating anything past 4 GiB on Windows. Widen the out-parameter, drop the cast_size_t_to_ulong() shim, and move the matching locals in the two convert.c callers and the one in attr.c. Their downstream consumers (gather_convert_stats() widened in the prior commit and read_attr_from_buf() already size_t) take the new type directly. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fixes a pre-existing silent narrowing from git_deflate_bound()'s unsigned long return into an int local: anything past 2 GiB has always wrapped negative here and then been re-extended to size_t inside xmalloc(). Also prep for the upcoming git_deflate_bound() widening to size_t, which would extend the narrowing further if bound stayed int. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Prep for the widenings of its callers, where size-receiving locals will become size_t (combine-diff's result_size in the immediately following commit, struct diff_filespec.size in a later topic). Body caps the parameter at 8000 anyway, so the type change is mechanical. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This will come in handy in the next commit. Signed-off-by: JiSeop Moon <zcube@zcube.kr> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Bert Belder <bertbelder@gmail.com>
The local is initialised from git_deflate_bound() (an unsigned upper bound on the deflated output, never negative) and used in exactly three places: the initialising assignment, strbuf_grow(buf, size) whose parameter is already size_t, and stream.avail_out which became size_t in the prior commit. There is no comparison against zero or a negative value, no subtraction, no arithmetic that depends on signedness, and no path that would assign a signed quantity to it. The original ssize_t was the wrong type to begin with: a git_deflate_bound() result above SSIZE_MAX would have wrapped negative on assignment and then implicitly re-extended to a huge size_t at strbuf_grow() / stream.avail_out, requesting an absurd allocation. That is not a real-world concern for the object sizes http-push pushes today, but it is also the reason the type needs to move to size_t before git_deflate_bound() itself is widened. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Continue the size_t evacuation. With buffer_is_binary() widened in the prior commit, every consumer that the size flows into in combine-diff.c is size_t-ready, so widen grab_blob()'s out-param outright and move the matching locals at its three call sites together. grab_blob()'s body collapses to a direct odb_read_object(&size) since the bridge variable is no longer needed. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The `git_terminal_prompt()` function expects the terminal window to be attached to a Win32 Console. However, this is not the case with terminal windows other than `cmd.exe`'s, e.g. with MSys2's own `mintty`. Non-cmd terminals such as `mintty` still have to have a Win32 Console to be proper console programs, but have to hide the Win32 Console to be able to provide more flexibility (such as being resizeable not only vertically but also horizontally). By writing to that Win32 Console, `git_terminal_prompt()` manages only to send the prompt to nowhere and to wait for input from a Console to which the user has no access. This commit introduces a function specifically to support `mintty` -- or other terminals that are compatible with MSys2's `/dev/tty` emulation. We use the `TERM` environment variable as an indicator for that: if the value starts with "xterm" (such as `mintty`'s "xterm_256color"), we prefer to let `xterm_prompt()` handle the user interaction. The most prominent user of `git_terminal_prompt()` is certainly `git-remote-https.exe`. It is an interesting use case because both `stdin` and `stdout` are redirected when Git calls said executable, yet it still wants to access the terminal. When running inside a `mintty`, the terminal is not accessible to the `git-remote-https.exe` program, though, because it is a MinGW program and the `mintty` terminal is not backed by a Win32 console. To solve that problem, we simply call out to the shell -- which is an *MSys2* program and can therefore access `/dev/tty`. Helped-by: nalla <nalla@hamal.uberspace.de> Signed-off-by: Karsten Blees <blees@dcon.de> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
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>
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>
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>
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>
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>
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>
See https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot#enabling-dependabot-version-updates-for-actions for details. 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>
Upstream Git does not test their tags with the expensive set of tests, so a couple of them seem quite broken for now, even so much as hanging indefinitely. It is outside of the responsibility of the Git for Windows project to fix upstream's own tests for platforms other than Windows, so let's not exercise them. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
…updates Start monitoring updates of Git for Windows' component in the open
Mirror what git survey already reports: lightweight tags (pointing straight at a commit/tree/blob) and annotated tags (pointing at an OBJ_TAG that is itself stored as a separate object) are different things in many monorepo contexts, and one of the differences git survey users routinely care about. Add an annotated_tags counter to struct ref_stats, populate it in count_references() by peeking at the ref OID's object type, and expose it as a sub-row under Tags in the table output and as references.tags.annotated.count in the machine-readable formats. Step toward pivoting the standalone git survey command onto git repo structure; this fills the first of the four feature gaps documented in the assessment. Tests in t1901 widened to assert the new row and key. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
`git repo structure` walks every reference enumerated by `refs_for_each_ref()` and feeds each reference's tip into the path walk that produces the object counts. There is no way to scope the inquiry to a subset of refs, even though that is the most common need when an operator is investigating what part of the history is driving cost: only branches, only release tags, only one remote's view, etc. Add a single `--ref-filter=<pattern>` option that, when given, restricts both the reference count and the object walk to refs whose full name matches one of the patterns. The option is repeatable; multiple patterns form a union, so `--ref-filter='refs/heads/*' --ref-filter='refs/tags/v*'` includes local branches and tags whose short name starts with `v`. Patterns use `wildmatch()` with `WM_PATHNAME` semantics so a `*` does not cross `/`, matching the convention used by `git for-each-ref` positional arguments. Choosing a single flexible filter, rather than a proliferation of per-kind flags like `--branches`, `--tags`, `--remotes`, keeps the option surface small and lets the same mechanism express narrow selections the per-kind flags could not, such as "only release tags" (`'refs/tags/v*'`) or "only one remote's branches" (`'refs/remotes/origin/*'`). Without `--ref-filter`, behaviour is unchanged: every ref `refs_for_each_ref()` enumerates contributes. Both the reference counter and the path-walk seeding (via `add_pending_oid()`) sit on the same callback, so an early return when no pattern matches naturally excludes a ref from both. No separate object-walk machinery is needed. Cover the two interesting code paths with tests in t1901: a single filter narrowing to branches, and two filters unioning to include both branches and tags. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
`git survey` distinguishes itself from `git repo structure` largely by its path-level reporting: in addition to whole-repo totals it lists the paths whose object histories dominate the repository, ranked by raw count, on-disk size, and inflated size, separately for trees and blobs. That is often the most actionable output from `git survey`, since it points an operator at the directories and files that should be reviewed for cleanup, sparse-checkout exclusion, or rewriting. `git repo structure` already drives the same path-walk traversal that `git survey` uses to gather its per-path numbers; the callback simply discards the path. Aggregate per-(path, type) summaries inside that existing callback and add a bounded, descending-sorted "top-N" table keyed by each of the three axes. Gate the feature behind a new `--top=<n>` option, defaulting to 0, so unadorned invocations are unaffected and pay no extra work for the top-N tracking. Mirror the sort and eviction strategy from `builtin/survey.c`: keep an array of at most N entries sorted from largest to smallest, walk it from the bottom on each candidate, and shift entries down when a new one belongs. Compared to `builtin/survey.c`, drop the void-pointer indirection in the table data, type the comparator's arguments, and fold the trivial comparators into the `(a > b) - (a < b)` idiom. For the human-readable `table` output, extend the existing nested bullet layout with two new top-level sections, `* Top trees` and `* Top blobs`, each containing three sub-tables (`Top by count`, `Top by disk size`, `Top by inflated size`). The path becomes the row name and the relevant scalar becomes the value, reusing `stats_table_count_addf` and `stats_table_size_addf` so units and column alignment match the rest of the table. For the `lines`/`nul` key-value formats, emit one `objects.<type>.top.by_<axis>.<rank>.path=<path>` entry alongside an `objects.<type>.top.by_<axis>.<rank>.<axis>=<value>` entry per ranked path, so consumers can dispatch by axis without parsing the schema. The root tree's path is the empty string as produced by the path-walk machinery; preserve that as-is to stay faithful to the upstream representation rather than fabricating a placeholder. This is the first piece of folding `git survey`'s functionality into `git repo structure`. Subsequent commits will add the corresponding configuration knob and, eventually, turn `git survey` into a thin deprecated shim over `git repo structure`. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The preceding commit added `--top=<n>` to `git repo structure`,
reporting the top-N paths per type ranked by count, on-disk size, and
inflated size. Cover the three behaviors that matter for that option:
* Without `--top`, the key-value output emits no `top.*` keys, so
existing parsers stay unaffected.
* `--top=N` produces exactly N ranked entries on each of the six
`objects.<type>.top.by_<axis>` axes (count/disk_size/inflated_size
crossed with trees/blobs), and a constructed input where one blob
is several orders of magnitude bigger than the other lets us
assert the ordering on the disk-size and inflated-size axes.
* A negative `--top` is rejected with a non-zero exit and a message
naming the constraint, so a typo cannot silently degrade into the
default zero.
Avoid grep patterns starting with `--`; grep would parse the leading
double dash as an option terminator.
Assisted-by: Opus 4.7
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
`git survey` exposes its `--top` default via `survey.top` so that a site or per-repository operator can switch the detail tables on once and have every subsequent invocation include them. Mirror that ergonomics for `git repo structure` so that, as `git survey`'s functionality is folded into `git repo structure`, the configuration side of the migration story stays equivalent. Add a small `git_config_int` callback bound to `repo.structure.top` and invoke it before `parse_options()`, so a `--top=<N>` on the command line cleanly overrides the configured default (including `--top=0` to opt out of the detail tables when configuration enables them). Reject negative configured values with the same wording as the command-line guard, since `git_config_int()` happily returns negative integers. Document the new variable in a fresh `Documentation/config/repo.adoc` and wire it into the alphabetical includes in `Documentation/config.adoc` between `repack.adoc` and `rerere.adoc`. Cover the precedence behaviour with a t1901 test: a configured value enables the tables by default, and a command-line `--top=0` suppresses them again. Note that the reported paths respect the `core.quotePath` setting. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
`git survey` started life as an experimental scale-measurement tool; the preceding commits give `git repo structure` the path-level detail tables and ref-scoping mechanism that were `git survey`'s main draw, so the two now overlap substantially. Plan the migration explicitly: add a short notice at the top of the description making clear which of `git survey`'s knobs map to which `git repo structure` option, and state that a future release will turn `git survey` into a thin shim over `git repo structure`. Putting the notice in the description (rather than only the synopsis) ensures it shows up in `git help survey` rendering before the reader sees any option specifics, so an operator skimming the page learns about the replacement before adopting any survey-specific flags. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Bumps [actions/cache](https://github.com/actions/cache) from 5 to 6. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v5...v6) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Add a README.md for GitHub goodness. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
`git survey` was an experimental scale-measurement tool whose
distinctive features (ref-kind filters, top-N path tables) are now
all available in `git repo structure`. With the path-level reporting
in place (commits "repo: filter the structure scope via
--ref-filter=<pattern>" and "repo: report top-N paths by count, disk,
and inflated size in structure"), there is no functionality `git
survey` provides that `git repo structure` cannot.
Replace the 764-line `git survey` implementation with a roughly
hundred-line shim that:
* Accepts the existing `git survey` command line so callers in
scripts continue to parse without changes.
* Emits a deprecation warning naming the replacement command, so
interactive users learn about the migration target.
* Translates the survey-specific knobs into the equivalent
`git repo structure` invocation and re-execs the canonical
command via `execv_git_cmd()`. Per-kind ref selectors fan out
into the corresponding `refs/heads/*`, `refs/tags/*`, etc.
`--ref-filter` patterns; `--top=<N>` is forwarded directly;
`--all-refs` becomes the absence of any `--ref-filter`.
Two survey options have no `git repo structure` counterpart:
`--verbose` controlled per-step trace output the new command does
not emit, and `--detached` selected the detached HEAD which
`git repo structure` does not enumerate separately. Both are
silently accepted and produce a single warning each, so old
invocations keep working while the absence of these knobs in `git
repo structure` is made visible.
Rewrite t8100 to assert the shim's contract: the deprecation
warning is printed, the output is byte-identical to a corresponding
`git repo structure` invocation, and the per-kind selector
translation produces the right `--ref-filter` pattern. The
preceding survey-specific output assertions (the multi-column
plaintext tables) no longer apply, since `git repo structure`'s
output format is now the canonical one and is covered by t1901.
The `survey.*` configuration keys (`survey.top`, `survey.progress`,
`survey.verbose`) are no longer honored by the shim. They were
mirrored by the preceding `repo.structure.top` work for the most
useful knob; users with `survey.top` set in config should migrate
to `repo.structure.top`. This is a backward-incompatible removal
documented by the deprecation notice in `git-survey.adoc`.
Assisted-by: Opus 4.7
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Bumps [actions/cache](https://github.com/actions/cache) from 5 to 6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/cache/releases">actions/cache's releases</a>.</em></p> <blockquote> <h2>v6.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update packages, migrate to ESM by <a href="https://github.com/Samirat"><code>@Samirat</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1760">actions/cache#1760</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v5...v6.0.0">https://github.com/actions/cache/compare/v5...v6.0.0</a></p> <h2>v5.1.0</h2> <h2>What's Changed</h2> <ul> <li>Bump <code>@actions/cache</code> to v5.1.0 - handle read-only cache access by <a href="https://github.com/jasongin"><code>@jasongin</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1775">actions/cache#1775</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v5...v5.1.0">https://github.com/actions/cache/compare/v5...v5.1.0</a></p> <h2>v5.0.5</h2> <h2>What's Changed</h2> <ul> <li>Update ts-http-runtime dependency by <a href="https://github.com/yacaovsnc"><code>@yacaovsnc</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1747">actions/cache#1747</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v5...v5.0.5">https://github.com/actions/cache/compare/v5...v5.0.5</a></p> <h2>v5.0.4</h2> <h2>What's Changed</h2> <ul> <li>Add release instructions and update maintainer docs by <a href="https://github.com/Link"><code>@Link</code></a>- in <a href="https://redirect.github.com/actions/cache/pull/1696">actions/cache#1696</a></li> <li>Potential fix for code scanning alert no. 52: Workflow does not contain permissions by <a href="https://github.com/Link"><code>@Link</code></a>- in <a href="https://redirect.github.com/actions/cache/pull/1697">actions/cache#1697</a></li> <li>Fix workflow permissions and cleanup workflow names / formatting by <a href="https://github.com/Link"><code>@Link</code></a>- in <a href="https://redirect.github.com/actions/cache/pull/1699">actions/cache#1699</a></li> <li>docs: Update examples to use the latest version by <a href="https://github.com/XZTDean"><code>@XZTDean</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1690">actions/cache#1690</a></li> <li>Fix proxy integration tests by <a href="https://github.com/Link"><code>@Link</code></a>- in <a href="https://redirect.github.com/actions/cache/pull/1701">actions/cache#1701</a></li> <li>Fix cache key in examples.md for bun.lock by <a href="https://github.com/RyPeck"><code>@RyPeck</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1722">actions/cache#1722</a></li> <li>Update dependencies & patch security vulnerabilities by <a href="https://github.com/Link"><code>@Link</code></a>- in <a href="https://redirect.github.com/actions/cache/pull/1738">actions/cache#1738</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/XZTDean"><code>@XZTDean</code></a> made their first contribution in <a href="https://redirect.github.com/actions/cache/pull/1690">actions/cache#1690</a></li> <li><a href="https://github.com/RyPeck"><code>@RyPeck</code></a> made their first contribution in <a href="https://redirect.github.com/actions/cache/pull/1722">actions/cache#1722</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v5...v5.0.4">https://github.com/actions/cache/compare/v5...v5.0.4</a></p> <h2>v5.0.3</h2> <h2>What's Changed</h2> <ul> <li>Bump <code>@actions/cache</code> to v5.0.5 (Resolves: <a href="https://github.com/actions/cache/security/dependabot/33">https://github.com/actions/cache/security/dependabot/33</a>)</li> <li>Bump <code>@actions/core</code> to v2.0.3</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v5...v5.0.3">https://github.com/actions/cache/compare/v5...v5.0.3</a></p> <h2>v.5.0.2</h2> <h1>v5.0.2</h1> <h2>What's Changed</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/cache/blob/main/RELEASES.md">actions/cache's changelog</a>.</em></p> <blockquote> <h1>Releases</h1> <h2>How to prepare a release</h2> <blockquote> <p>[!NOTE] Relevant for maintainers with write access only.</p> </blockquote> <ol> <li>Switch to a new branch from <code>main</code>.</li> <li>Run <code>npm test</code> to ensure all tests are passing.</li> <li>Update the version in <a href="https://github.com/actions/cache/blob/main/package.json"><code>https://github.com/actions/cache/blob/main/package.json</code></a>.</li> <li>Run <code>npm run build</code> to update the compiled files.</li> <li>Update this <a href="https://github.com/actions/cache/blob/main/RELEASES.md"><code>https://github.com/actions/cache/blob/main/RELEASES.md</code></a> with the new version and changes in the <code>## Changelog</code> section.</li> <li>Run <code>licensed cache</code> to update the license report.</li> <li>Run <code>licensed status</code> and resolve any warnings by updating the <a href="https://github.com/actions/cache/blob/main/.licensed.yml"><code>https://github.com/actions/cache/blob/main/.licensed.yml</code></a> file with the exceptions.</li> <li>Commit your changes and push your branch upstream.</li> <li>Open a pull request against <code>main</code> and get it reviewed and merged.</li> <li>Draft a new release <a href="https://github.com/actions/cache/releases">https://github.com/actions/cache/releases</a> use the same version number used in <code>package.json</code> <ol> <li>Create a new tag with the version number.</li> <li>Auto generate release notes and update them to match the changes you made in <code>RELEASES.md</code>.</li> <li>Toggle the set as the latest release option.</li> <li>Publish the release.</li> </ol> </li> <li>Navigate to <a href="https://github.com/actions/cache/actions/workflows/release-new-action-version.yml">https://github.com/actions/cache/actions/workflows/release-new-action-version.yml</a> <ol> <li>There should be a workflow run queued with the same version number.</li> <li>Approve the run to publish the new version and update the major tags for this action.</li> </ol> </li> </ol> <h2>Changelog</h2> <h3>6.1.0</h3> <ul> <li>Bump <code>@actions/cache</code> to v6.1.0 to pick up <a href="https://redirect.github.com/actions/toolkit/pull/2435">actions/toolkit#2435 Handle cache write error due to read-only token</a></li> <li>Switch redundant "Cache save failed" warning to debug log in save-only</li> </ul> <h3>6.0.0</h3> <ul> <li>Updated <code>@actions/cache</code> to ^6.0.1, <code>@actions/core</code> to ^3.0.1, <code>@actions/exec</code> to ^3.0.0, <code>@actions/io</code> to ^3.0.2</li> <li>Migrated to ESM module system</li> <li>Upgraded Jest to v30 and test infrastructure to be ESM compatible</li> </ul> <h3>5.0.4</h3> <ul> <li>Bump <code>minimatch</code> to v3.1.5 (fixes ReDoS via globstar patterns)</li> <li>Bump <code>undici</code> to v6.24.1 (WebSocket decompression bomb protection, header validation fixes)</li> <li>Bump <code>fast-xml-parser</code> to v5.5.6</li> </ul> <h3>5.0.3</h3> <ul> <li>Bump <code>@actions/cache</code> to v5.0.5 (Resolves: <a href="https://github.com/actions/cache/security/dependabot/33">https://github.com/actions/cache/security/dependabot/33</a>)</li> <li>Bump <code>@actions/core</code> to v2.0.3</li> </ul> <h3>5.0.2</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/cache/commit/55cc8345863c7cc4c66a329aec7e433d2d1c52a9"><code>55cc834</code></a> Merge pull request <a href="https://redirect.github.com/actions/cache/issues/1768">#1768</a> from jasongin/readonly-cache</li> <li><a href="https://github.com/actions/cache/commit/d8cd72f230726cdf4457ebb61ec1b593a8d12337"><code>d8cd72f</code></a> Bump <code>@actions/cache</code> to v6.1.0 - handle cache write error due to RO token</li> <li><a href="https://github.com/actions/cache/commit/2c8a9bd7457de244a408f35966fab2fb45fda9c8"><code>2c8a9bd</code></a> Merge pull request <a href="https://redirect.github.com/actions/cache/issues/1760">#1760</a> from actions/samirat/esm_migration_and_package_update</li> <li><a href="https://github.com/actions/cache/commit/e9b91fdc3fea7d79165fceb79042ef45c2d51023"><code>e9b91fd</code></a> Prettier fixes</li> <li><a href="https://github.com/actions/cache/commit/e4884b8ff7f92ef6b52c79eda480bbc86e685adb"><code>e4884b8</code></a> Rebuild dist</li> <li><a href="https://github.com/actions/cache/commit/10baf0191a3c426ea0fa4a3253a5c04233b6e18f"><code>10baf01</code></a> Fixed licenses</li> <li><a href="https://github.com/actions/cache/commit/e39b386c9004d72a15d864ade8c0b3a702d47a37"><code>e39b386</code></a> Fix test mock return order</li> <li><a href="https://github.com/actions/cache/commit/b6928203372a8571ff984c0c883ef3a1adfb0c06"><code>b692820</code></a> PR feedback</li> <li><a href="https://github.com/actions/cache/commit/60749128a44d25d3c520a489e576380cf00ff3f1"><code>6074912</code></a> Rebuild dist bundles as ESM to match type:module</li> <li><a href="https://github.com/actions/cache/commit/5a912e8b4af820fa082a0e75cfd2c782f8fbfe0e"><code>5a912e8</code></a> Fix lint and jest issues</li> <li>Additional commits viewable in <a href="https://github.com/actions/cache/compare/v5...v6">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
…it-for-windows#6268) `git survey` was always experimental, and I never got around to upstreaming it to make it non-experimental. In the meantime, the `git repo structure` command was upstreamed upstream, which covers most of the same ground with a cleaner option surface and a stable output contract. This PR closes the remaining gap (annotated-tag breakdown, ref scoping, top-N paths by count/disk/inflated, and the corresponding configuration knob) and then turns `git survey` into a thin shim that warns about deprecation, translates its old command line into the equivalent `git repo structure` invocation, and re-execs the canonical command. Net result: one user-facing tool to maintain and to teach instead of two. The intent is that scripts pinned to `git survey` keep working (a warning aside), and that operators have a single answer when they ask "how do I see what's making my repository large?". The `survey.*` configuration keys are intentionally dropped; the only one that mattered, `survey.top`, has a direct replacement in `repo.structure.top`.
Required by `mm/test-grep-lint`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Required by `mm/test-grep-lint`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Required by `mm/test-grep-lint`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Required by `mm/test-grep-lint`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
…tact Required by `mm/test-grep-lint`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Required by `mm/test-grep-lint`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Required by `mm/test-grep-lint`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This is now required by `bc/parse-options-exit-0-on-help`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Workflow run
Rebase Summary: main
From: 8b6e9b49c8 (fixup??? survey: stub in new experimental 'git-survey' command, 2026-08-01) (a9b2043cd3..8b6e9b49c8)
To: 132eec099a (fixup??? survey: stub in new experimental 'git-survey' command, 2026-08-01) (e89a87b116..132eec099a)
Statistics
Range-diff (click to expand)
1: 9565da2 < -: ---------- mingw: skip symlink type auto-detection for network share targets
2: 84dc4e7 = 1: 02eb437 unix-socket: avoid leak when initialization fails
3: 32a27d3 < -: ---------- Merge branch 'prevent-accidental-ntlm-exfiltration-via-symlinks'
4: 10c96ba = 2: 7ff0f9a grep: prevent
^$false match at end of file5: 43d576b < -: ---------- Merge branch 'v2.53.0.windows.3'
6: 28fe76a = 3: 67fa4f9 Merge branch 'fixes-from-the-git-mailing-list'
8: 1549dd7 = 4: c6c1403 ci(vs-build): adapt to Visual Studio 2026 default on windows-latest
9: 5913e8c = 5: c265b3b vcpkg_install: detect lack of Git
10: a7ec4c5 = 6: 644e7a2 vcpkg_install: add comment regarding slow network connections
11: 53ac7fc = 7: 4f9c576 vcbuild: install ARM64 dependencies when building ARM64 binaries
12: 8e23998 = 8: 90cb772 vcbuild: add an option to install individual 'features'
13: 553fa88 = 9: e90121a cmake: allow building for Windows/ARM64
14: deb5404 = 10: b018475 ci(vs-build) also build Windows/ARM64 artifacts
16: 11dd03e = 11: 1659a28 vcbuild: stop hard-coding OpenSSL as a dependency
18: 6671295 = 12: e7b9cb3 cmake(): allow setting HOST_CPU for cross-compilation
20: 7665707 = 13: 8a62dfa t9350: point out that refs are not updated correctly
21: 39ea87e = 14: 8320af3 CMake: default Visual Studio generator has changed
23: feb3386 = 15: 95ec6eb transport-helper: add trailing --
24: e4d8e3a = 16: 1b0f76c mingw: demonstrate a
git addissue with NTFS junctions25: cb3fbbc = 17: f9ef64b .gitignore: add Visual Studio CMakeSetting.json file
27: 746092f = 18: cd5e536 t5505/t5516: allow running without
.git/branches/in the templates28: 888a8ef = 19: a6a964f remote-helper: check helper status after import/export
29: 8192646 = 20: 98447b5 strbuf_realpath(): use platform-dependent API if available
30: 4263b04 = 21: 8ebf80c http: use new "best effort" strategy for Secure Channel revoke checking
31: b624f06 = 22: 8f2086f subtree: update
contrib/subtreetesttarget32: 6839a13 = 23: 2043117 CMakeLists: add default "x64-windows" arch for Visual Studio
33: bd4d239 = 24: f541aaa setup: properly use "%(prefix)/" when in WSL
34: 300a7ba = 25: f381c71 Add config option
windows.appendAtomically15: de8d468 = 26: 70337d9 mingw: include the Python parts in the build
36: f593a93 = 27: 6630b00 t5505/t5516: fix white-space around redirectors
37: 4c3ff89 = 28: 4951450 MinGW: link as terminal server aware
7: 3271cd1 = 29: 036d1e5 ci: bump actions/checkout from 6 to 7
38: f0a087c = 30: d176358 Always auto-gc after calling a fast-import transport
39: 777ad42 = 31: fa68f5b mingw: prevent regressions with "drive-less" absolute paths
40: 8137fdf = 32: faccb71 transport: optionally disable side-band-64k
41: 93444b6 = 33: a4ed8e8 mingw: fix fatal error working on mapped network drives on Windows
42: a3fb11a = 34: 2159e02 clink.pl: fix MSVC compile script to handle libcurl-d.lib
43: 3a76826 = 35: 68b3149 mingw: implement a platform-specific
strbuf_realpath()44: 096f15d = 36: 7530512 t3701: verify that we can add lots of files interactively
45: 1f6c029 = 37: 88090b5 commit: accept "scissors" with CR/LF line endings
46: 7ed51f6 ! 38: 9cd1de9 t0014: fix indentation
@@ Commit message Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> ## t/t0014-alias.sh ## -@@ t/t0014-alias.sh: test_expect_success 'looping aliases - deprecated builtins' ' +@@ t/t0014-alias.sh: test_expect_success HAVE_DEPRECATED 'looping aliases - deprecated builtins' ' #' test_expect_success 'run-command formats empty args properly' '47: 3a2cfaf = 39: 54020b4 git-gui: accommodate for intent-to-add files
48: dd82f70 = 40: 702f620 mingw: allow for longer paths in
parse_interpreter()49: a1b4000 = 41: cff3101 compat/vcbuild: document preferred way to build in Visual Studio
50: 1c1b99a = 42: 695909e http: optionally send SSL client certificate
51: 757b689 = 43: 1ce6056 ci: run
contrib/subtreetests in CI builds52: df5d72f = 44: 6c195c1 CMake: show Win32 and Generator_platform build-option values
53: b8848cf = 45: 57a19e6 compat/mingw.c: do not warn when failing to get owner
54: c1a0e3b = 46: 9caf6dd mingw: $env:TERM="xterm-256color" for newer OSes
55: dbdc401 = 47: 2099e37 winansi: check result and Buffer before using Name
56: b4eab2e = 48: 2e2dadc mingw: change core.fsyncObjectFiles = 1 by default
17: 8a1d97c = 49: 9393f46 windows: skip linking
git-<command>for built-ins19: ad1f4f0 = 50: 1057946 mingw: stop hard-coding
CC = gcc22: 3608e40 = 51: 0f8ca93 mingw: drop the -D_USE_32BIT_TIME_T option
26: 9cbeaa9 = 52: 8e7b222 mingw: only use -Wl,--large-address-aware for 32-bit builds
35: 44a9577 = 53: 72a5573 mingw: avoid over-specifying
--pic-executable59: d5055af = 54: 8cc0389 mingw: set the prefix and HOST_CPU as per MSYS2's settings
60: 8567dbf = 55: 65954cb mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
61: 025ef67 = 56: d372715 mingw: rely on MSYS2's metadata instead of hard-coding it
62: 9d784ab = 57: e9f4f0a mingw: always define
ETC_*for MSYS2 environments63: e7718a8 = 58: 86ea1ba max_tree_depth: lower it for clang builds in general on Windows
64: 8caf0a6 = 59: 3b52ee4 mingw: ensure valid CTYPE
65: fe808fb = 60: ee1bf49 mingw: allow
git.exeto be used instead of the "Git wrapper"66: 3b46459 = 61: 7170d99 revision: create mark_trees_uninteresting_dense()
67: 31adb3b = 62: ecc6ac1 mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system directory
68: 2d55830 = 63: d522004 survey: stub in new experimental 'git-survey' command
69: 6893c67 = 64: b7f4f47 Merge branch 'dscho-avoid-d-f-conflict-in-vs-master'
70: 7045235 = 65: 79b3b4b survey: add command line opts to select references
71: f247fb5 = 66: 185b2c1 clink.pl: fix libexpatd.lib link error when using MSVC
72: 0258229 = 67: 385c489 survey: start pretty printing data in table form
73: 7d2452e = 68: ae13520 Makefile: clean up .ilk files when MSVC=1
74: 02c94d3 = 69: 4c2dd2c survey: add object count summary
75: d8b23cc = 70: ae007ac vcbuild: add support for compiling Windows resource files
76: c192795 = 71: 7518eff survey: summarize total sizes by object type
77: 464266d = 72: f60efae config.mak.uname: add git.rc to MSVC builds
78: 0b44811 = 73: 1a360a9 survey: show progress during object walk
79: 4da0c51 = 74: 447ba51 mingw: make sure
errnois set correctly when socket operations fail80: c84a802 = 75: 09ab2cc t5563: verify that NTLM authentication works
81: c9676a5 = 76: f7d3f63 clink.pl: ignore no-stack-protector arg on MSVC=1 builds
82: fc31043 = 77: 50d32b6 http: optionally load libcurl lazily
83: 45e6c2e = 78: 2f65ed5 survey: add ability to track prioritized lists
84: ba77c24 = 79: 8c94de6 compat/mingw: handle WSA errors in strerror
85: 6150d42 = 80: ddbb918 http: disallow NTLM authentication by default
86: b299e48 = 81: d6d06f1 clink.pl: move default linker options for MSVC=1 builds
87: 7cffb18 = 82: 6a440a6 http: support lazy-loading libcurl also on Windows
88: 5aa395b = 83: c5d0079 survey: add report of "largest" paths
89: ee06070 = 84: 31564e1 compat/mingw: drop outdated comment
90: e6b7640 = 85: b23c9b4 http: warn if might have failed because of NTLM
91: f68a7a9 = 86: 2699f81 cmake: install headless-git.
92: e7da1e5 = 87: 7ad2677 http: when loading libcurl lazily, allow for multiple SSL backends
93: a54a503 = 88: e3cf5ce survey: add --top= option and config
94: 8be02e9 = 89: 061bd55 t0301: actually test credential-cache on Windows
95: 95d4327 = 90: 6e6dc5a credential: advertise NTLM suppression and allow helpers to re-enable
57: 4653fc0 = 91: 20058d0 Fix Windows version resources
58: 9bf7c2c = 92: 4b60356 status: fix for old-style submodules with commondir
96: 6dd2512 = 93: f9134cf git.rc: include winuser.h
97: 4b701ed = 94: 8ed2679 mingw: do load libcurl dynamically by default
98: 168c3ab = 95: 7525373 Add a GitHub workflow to verify that Git/Scalar work in Nano Server
99: 7e00d16 = 96: bf48cc9 mingw: suggest
windows.appendAtomicallyin more cases100: d8255cb = 97: 8206613 win32: use native ANSI sequence processing, if possible
101: a7ff5b2 = 98: 9614b9d common-main.c: fflush stdout buffer upon exit
102: 4ec51b4 = 99: f9adc48 t5601/t7406(mingw): do run tests with symlink support
103: d5bf7a3 = 100: 61b9139 Fallback to AppData if XDG_CONFIG_HOME is unset
104: 64e3d2e = 101: c8069fa survey: clearly note the experimental nature in the output
105: ca9a6b2 = 102: b8f720e credential-cache: handle ECONNREFUSED gracefully
106: 39a21b2 = 103: eeeb0c0 reftable: do make sure to use custom allocators
107: 59ad9f3 = 104: 52117f9 check-whitespace: avoid alerts about upstream commits
108: 3677caa = 105: e5bb211 t/t5571-prep-push-hook.sh: Add test with writing to stderr
111: 4fec588 = 106: f8a7b69 diff-delta: widen struct delta_index size fields to size_t
112: 33ca238 = 107: 98613b7 delta: widen create_delta_index() parameter to size_t
113: 02baf97 = 108: bb8b073 pack-objects: widen delta-cache accounting to size_t
114: 1493bca = 109: 8332407 pack-objects: widen free_unpacked() return to size_t
115: 9f87792 = 110: 0777893 pack-objects: widen mem_usage and try_delta out-param to size_t
116: 98cd3ef = 111: 09052ee delta: widen create_delta() and diff_delta() to size_t
117: f924564 = 112: f690043 packfile, git-zlib: widen use_pack() and zstream avail fields to size_t
118: 974851a = 113: 7f038f5 archive-zip: widen zlib_deflate_raw()'s maxsize local to size_t
119: 1533413 = 114: 3ba7871 diff: widen deflate_it()'s bound local from int to size_t
120: 0bba919 = 115: ac74aa2 http-push: widen start_put()'s size local from ssize_t to size_t
121: 36724c2 = 116: 72eb66e t/helper/test-pack-deltas: widen do_compress()'s maxsize local to size_t
122: 5d2055b = 117: 3f5f9ab mingw: Support
git_terminal_promptwith more terminals123: 6c23b1c = 118: 19f40a2 git-zlib: widen git_deflate_bound() to size_t
124: a32a0b6 = 119: bce8c73 compat/terminal.c: only use the Windows console if bash 'read -r' fails
125: ac01c62 = 120: be1d332 diff: stop truncating the deflated-binary-diff size on Windows
126: 1b42e8b = 121: d15a05f mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
127: e14d48e = 122: b00a3f6 convert: widen gather_convert_stats() helpers to size_t
128: 060b74c = 123: d915ece Win32: symlink: move phantom symlink creation to a separate function
129: 0820535 = 124: 5915861 read-cache: stop truncating index blob sizes on Windows
130: d19292f = 125: 1394f06 mingw: introduce code to detect whether we're inside a Windows container
131: 5ac0e29 = 126: 3b8197e Introduce helper to create symlinks that knows about index_state
132: 9018848 = 127: bfae0c3 xdiff-interface: widen buffer_is_binary() size parameter to size_t
134: 9843ad0 = 128: f5abccc mingw: when running in a Windows container, try to rename() harder
135: fdb9fa9 = 129: d03103a mingw: allow to specify the symlink type in .gitattributes
136: 87ea4c1 = 130: b27420a combine-diff: stop truncating combined-diff blob sizes on Windows
138: 830f67b = 131: c0c1ad1 mingw: move the file_attr_to_st_mode() function definition
139: a12b26d = 132: 698641c Win32: symlink: add test for
symlinkattribute133: 7970a6c = 133: 89cbad5 tree-walk: drop link_len cast in get_tree_entry_follow_symlinks()
140: c9e434f = 134: 31e1f48 diff: widen textconv_object() size out-param to size_t
142: 5d54ebc = 135: 35ce388 mingw: Windows Docker volumes are not symbolic links
143: 1e6b599 = 136: 7fcc184 clean: do not traverse mount points
144: 1aaa5a3 = 137: 4058084 pack-bitmap: stop truncating blob sizes used by --filter=blob:limit
137: 183d82b = 138: 801f087 tree-walk: widen init_tree_desc() and init_tree_desc_gently() to size_t
145: c1183da = 139: 9291eba diffcore: widen struct diff_filespec.size to size_t
146: 3849647 = 140: 8c22ba6 diff-delta: widen sizeof_delta_index() return to size_t
109: 2e436bb = 141: 6133a1b dir: do not traverse mount points
110: d5d3d48 = 142: 737889e win32: thread-utils: handle multi-socket systems
149: 4ff5b14 = 143: 3340d4b t5563: add tests for http.emptyAuth with Negotiate
150: 2d88868 = 144: 76c4082 entry: flush fscache after creating directories and writing files
151: c3e02a2 = 145: 93763e5 ci(macos): skip the
git p4tests152: 795bac1 = 146: e761dfd mingw: work around rename() failing on a read-only file
153: 1a34683 = 147: 0b2f226 clean: remove mount points when possible
154: 0e922a5 = 148: ae8a3e0 mingw: optionally enable wsl compability file mode bits
155: 4b6ada2 = 149: fa6c834 Refuse to follow invalid paths in
.gitfiles156: 466db5c = 150: bcffc5d Merge branch 'size-t/pack-objects-delta'
157: dd2290d = 151: e14a023 Merge branch 'size-t/pack-bitmap'
141: 0ce6295 = 152: ba04dc9 pack-objects: drop the two tree-walk casts in the preferred-base path
158: 9dbabc6 = 153: 7d30f93 Merge branch 'size-t/diff'
147: 6ef7e0f = 154: aff4291 tree: widen struct tree.size and parse_tree_buffer() to size_t
159: a4d4fbb = 155: e4369c1 Merge branch 'size-t/diff-delta-sizeof'
148: 87999e6 = 156: 9f29d03 commit: widen the commit-buffer API to size_t
160: a491088 = 157: af32dee Merge branch 'size-t/tree'
161: 8867534 = 158: a7f38fe blame: widen find_line_starts() len parameter to size_t
162: 863b915 = 159: acd24cc Merge branch 'size-t/commit'
163: b9165b6 = 160: b8c34d9 grep: widen struct grep_source.size and grep_buffer() to size_t
164: a244773 = 161: 4df1ed8 Merge branch 'size-t/blame'
165: 45dc8a1 = 162: b10cf7f fast-export: drop the export_blob() size cast and widen anonymize_blob()
166: bf21ede = 163: 9b6ff50 Merge branch 'size-t/grep'
167: e5096be = 164: db16ecd repo: drop the inflated-size cast in count_objects()
168: 2eed1be = 165: a1477d1 Merge branch 'size-t/fast-export'
169: 4b95284 = 166: 5986b32 unpack-objects: widen the size-passing infrastructure to size_t
170: 91e9357 = 167: da8a39f Merge branch 'size-t/repo'
171: b4eac0e = 168: 7ea48de Merge branch 'size-t/unpack-objects'
172: 181a337 = 169: a83d485 Merge branch 'topic/size-t' into size-t-followups
173: f7ecb66 = 170: 409c7b0 pack-objects: drop cast_size_t_to_ulong shims in get_delta()
174: 1274ff1 = 171: 3802ea3 pack-objects: drop cast_size_t_to_ulong shims in try_delta()
175: 0093dcb = 172: eb6f680 pack-objects: drop the last size shim in write_no_reuse_object()
176: ff29f93 = 173: 9f5e1cb blame: widen struct blame_scoreboard.final_buf_size to size_t
177: 21e7acd = 174: 3102d92 fast-import: drop the six size casts in the object-read paths
178: 0725ab4 = 175: 6fb93e2 t/helper/test-pack-deltas: drop the delta_size cast in write_ref_delta()
179: b5c073c = 176: 8b6bb85 Merge branch 'bump-ci-actions/checkout-from-6-to-7'
180: 1f5cbda = 177: 74ba180 Drop the
cast_size_t_to_ulong()helper181: f056b3f = 178: 34051e1 Merge branch 'topic/size-t' (size_t evacuation, upstream-bound)
182: 198db54 = 179: 0a56872 Merge 'remote-hg-prerequisites' into HEAD
183: b8c63f7 = 180: 9d63d7a Merge branch 'topic/size-t-followups' (size_t followups depending on seen topics)
184: 1bc06bb = 181: 20429f0 coverity: skip building with Rust, for now
185: b4a0fec = 182: 5be26a3 Merge branch 'drive-prefix'
186: 0260c5c = 183: 534ef0f Merge branch 'msys2-python'
187: fc0af7b = 184: 6a76c8e Merge pull request Config option to disable side-band-64k for transport git#2375 from assarbad/reintroduce-sideband-config
188: 9f40c68 = 185: 1353830 Merge pull request mingw: fix fatal error working on mapped network drives on Windows git#2488 from bmueller84/master
189: 4fd2496 = 186: 2e1c4bc Merge pull request clink.pl: fix MSVC compile script to handle libcurl-d.lib git#2501 from jeffhostetler/clink-debug-curl
190: 958e8df = 187: b94273a Merge pull request Handle
git add <file>where <file> traverses an NTFS junction git#2504 from dscho/access-repo-via-junction191: f5b409d = 188: cf46ba0 Merge pull request Introduce and use the new "best effort" strategy for Secure Channel revoke checking git#2535 from dscho/schannel-revoke-best-effort
192: dee122e = 189: 2bd3187 Merge pull request ci: avoid d/f conflict in vs/master git#2618 from dscho/avoid-d/f-conflict-in-vs/master
193: 1273961 = 190: f71e820 Merge 'add-p-many-files'
194: 64cfbe1 = 191: fce74c5 Merge pull request Rationalize line endings for scissors-cleanup git#2714 from lbonanomi/crlf-scissors
195: 5c390c0 = 192: 2744fdc Merge pull request t/t0014: fix: eliminate additional lines from trace git#2655 from jglathe/jg/t0014_trace_extra_info
196: 9de75a4 = 193: d163e28 Merge 'git-gui/js/intent-to-add'
197: 8ec92c7 = 194: 78b318e Merge pull request Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs git#2351 from PhilipOakley/vcpkg-tip
198: a00f3c5 = 195: f1f9839 Merge pull request Windows arm64 support git#2915 from dennisameling/windows-arm64-support
199: b5694b3 = 196: 23316c6 Merge pull request cmake(): allow setting HOST_CPU for cross-compilation git#3327 from dennisameling/fix-host-cpu
200: 9658b65 = 197: b6b9e82 Merge pull request mingw: allow for longer paths in
parse_interpreter()git#3165 from dscho/increase-allowed-length-of-interpreter-path201: 12b0a2f = 198: 2858ac5 Merge pull request Let the documentation reflect that there is no vs/master anymore git#3220 from dscho/there-is-no-vs/master-anymore
202: 3df093f = 199: 76ca16d Merge pull request http: Add support for enabling automatic sending of SSL client certificate git#3293 from pascalmuller/http-support-automatically-sending-client-certificate
203: 529b75b = 200: 6305117 Merge pull request Add
contrib/subtreetest execution to CI builds git#3349 from vdye/feature/ci-subtree-tests204: 6f4475e = 201: 786409f Merge pull request Make Git for Windows start builds in modern Visual Studio git#3306 from PhilipOakley/vs-sln
205: 5a37a76 = 202: 1d6e0b1 Merge pull request Various fixes around
safe.directorygit#3791: Various fixes aroundsafe.directory206: 9f7a27e = 203: eaf1954 Merge pull request mingw: set $env:TERM=xterm-256color for newer OSes git#3751 from rkitover/native-term
207: 8d3246b = 204: 49a4b04 Merge pull request winansi: check result before using Name for pty git#3875 from 1480c1/wine/detect_msys_tty
208: 0bcada9 = 205: 95508b5 Merge branch 'optionally-dont-append-atomically-on-windows'
209: 02ff1f3 = 206: d67ec4d Merge branch 'fsync-object-files-always'
210: 2c3b750 = 207: b5c7364 Merge pull request MinGW: link as terminal server aware git#3942 from rimrul/mingw-tsaware
211: 03821e6 = 208: b7f025d Fix Windows version resources (Fix Windows version resources git#4092)
212: 9a81a05 = 209: 75ae861 Fix global repository field not being cleared (Fix global repository field not being cleared git#4083)
213: bf1df06 = 210: 38635b8 Skip linking the "dashed"
git-<command>s for built-ins (Skip linking the "dashed"git-<command>s for built-ins git#4252)214: 1d803b4 = 211: d4b8830 Add full
mingw-w64-git(i.e. regular MSYS2 ecosystem) support (Add fullmingw-w64-git(i.e. regular MSYS2 ecosystem) support git#5971)215: 7828269 = 212: cc5989b Merge pull request Allow running Git directly from
C:\Program Files\Git\mingw64\bin\git.exegit#2506 from dscho/issue-2283216: 90997b6 = 213: 08bc792 Merge pull request Include Windows-specific maintenance and headless-git git#2974 from derrickstolee/maintenance-and-headless
217: 99bc4e8 = 214: b9e8621 ARM64: Embed manifest properly (ARM64: Embed manifest properly git#4718)
218: 9084084 = 215: 0a17c00 Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl (Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl git#4410)
219: de81b48 = 216: ab81c54 Merge branch 'nano-server'
220: 7038f6f = 217: e76f0ab Additional error checks for issuing the windows.appendAtomically warning (Additional error checks for issuing the windows.appendAtomically warning git#4528)
221: c9c4e1a = 218: 53bee08 win32: use native ANSI sequence processing, if possible (win32: use native ANSI sequence processing, if possible git#4700)
222: 9ab9027 = 219: e79fd46 common-main.c: fflush stdout buffer when exit (common-main.c: fflush stdout buffer when exit git#4901)
223: 1f05028 = 220: c7798a8 Merge branch 'run-t5601-and-t7406-with-symlinks-on-windows-10'
224: e4dd32c = 221: a75693c Merge branch 'Fallback-to-AppData-if-XDG-CONFIG-HOME-is-unset'
225: 32b2815 = 222: 7c043d6 Add path walk API and its use in 'git pack-objects' (Add path walk API and its use in 'git pack-objects' git#5171)
226: 9f1cf61 = 223: 2207023 Add experimental 'git survey' builtin (Add experimental 'git survey' builtin git#5174)
227: 84e722b = 224: 51a0b34 credential-cache: handle ECONNREFUSED gracefully (credential-cache: handle ECONNREFUSED gracefully git#5329)
228: 3af79c5 = 225: 977c04e Merge branch 'reftable-vs-custom-allocators'
229: 08ed7f4 = 226: 6c2c315 Merge branch 'check-whitespace-only-downstream'
230: 68e1dbe = 227: 9df7fed t/t5571-prep-push-hook.sh: Add test with writing to stderr (t/t5571-prep-push-hook.sh: Add test with writing to stderr git#6063)
231: b7977ac = 228: 534da47 Merge branch 'disallow-ntlm-auth-by-default'
232: 878c94d = 229: 431d973 Don't traverse mount points in
remove_dir_recurse()(Don't traverse mount points inremove_dir_recurse()git#6151)233: 4ccf6b7 = 230: 5b8859f Detect number of cores better on multi-socket systems (Detect number of cores better on multi-socket systems git#6108)
234: d3d6212 = 231: 173ffc9 http: fix emptyAuth=auto for Negotiate/SPNEGO (http: fix emptyAuth=auto for Negotiate/SPNEGO git#6170)
235: a61c392 = 232: 3e6f313 entry: flush fscache after creating directories and writing files (entry: flush fscache after creating directories and writing files git#6250)
236: 797d985 = 233: ff5056d ci(macos): skip the
git p4tests (ci(macos): skip thegit p4tests git#5954)237: 605bbcf = 234: 8c43303 Merge branch 'msys2'
238: f28dd1e = 235: 406fa0c Merge 'docker-volumes-are-no-symlinks'
239: 1dc82cd = 236: bad42ab mingw: try resetting the read-only bit if rename fails (Reset READONLY if rename fails git#4527)
240: 62febe3 = 237: f6b4a3e Merge pull request Specify symlink type in .gitattributes git#1897 from piscisaureus/symlink-attr
241: 70f5d0b = 238: b45fdd8 Merge branch 'dont-clean-junctions'
242: 0c9a695 = 239: c20c770 Merge branch 'wsl-file-mode-bits'
243: 642756a = 240: 8adc027 Merge branch 'validate-dotgit'
244: 985eb24 = 241: e46b1ba Continue improving support for 4GB+ packs/clones/objects (Continue improving support for 4GB+ packs/clones/objects git#6289)
245: db85aad = 242: 6c5b47d Merge branch 'skip-rust-in-the-coverity-builds'
246: bbd6254 = 243: 2b2be6a Merge branch 'ready-for-upstream'
247: 836d26f = 244: 1fe883e git-gui--askyesno: fix funny text wrapping
249: fc1b589 = 245: 2fd7127 Win32: make FILETIME conversion functions public
250: fc848a2 = 246: a4e42dc Win32: dirent.c: Move opendir down
251: 31fe45b = 247: 111db7d mingw: make the dirent implementation pluggable
252: 7f93593 = 248: 7f048b3 Win32: make the lstat implementation pluggable
253: 5994e35 = 249: 0734e76 mingw: add infrastructure for read-only file system level caches
254: 8f33f34 = 250: 548c78b mingw: add a cache below mingw's lstat and dirent implementations
255: 86efebf = 251: de9031a fscache: load directories only once
256: 12662fb = 252: 4bd278d fscache: add key for GIT_TRACE_FSCACHE
257: 1ab219d = 253: 93e42be fscache: remember not-found directories
258: 30a5fca = 254: 854f42e fscache: add a test for the dir-not-found optimization
259: d734f88 = 255: 85c0da0 add: use preload-index and fscache for performance
260: 560d452 = 256: 4eebe92 dir.c: make add_excludes aware of fscache during status
261: 9f2148c = 257: 6999586 fscache: make fscache_enabled() public
262: 45f8700 = 258: faf675c dir.c: regression fix for add_excludes with fscache
263: 57f4e4f = 259: fd6c11b fetch-pack.c: enable fscache for stats under .git/objects
264: 8632fd2 = 260: dbc4561 checkout.c: enable fscache for checkout again
265: 8f65c33 = 261: 2b32fd2 Enable the filesystem cache (fscache) in refresh_index().
266: 333c46b = 262: cce2c77 fscache: use FindFirstFileExW to avoid retrieving the short name
267: 1412f3a = 263: a0e1ffe fscache: add GIT_TEST_FSCACHE support
268: 14061e5 = 264: 39483ee fscache: add fscache hit statistics
269: 9805b2b = 265: e323320 unpack-trees: enable fscache for sparse-checkout
270: dd8d605 = 266: c098608 status: disable and free fscache at the end of the status command
271: 5fc18d4 = 267: f0473aa mem_pool: add GIT_TRACE_MEMPOOL support
272: 05d4b25 = 268: 67827e8 fscache: fscache takes an initial size
273: e32e88d = 269: 5464af8 fscache: update fscache to be thread specific instead of global
274: 57c7576 = 270: f1b6fbd fscache: teach fscache to use mempool
275: 3693bc7 = 271: bd5540c fscache: make fscache_enable() thread safe
276: 62df157 = 272: 2259489 fscache: teach fscache to use NtQueryDirectoryFile
277: 7059e99 = 273: 426f76f fscache: remember the reparse tag for each entry
278: e85d5ad = 274: c82a5c6 fscache: Windows Docker volumes are not symbolic links
279: a3bfe80 = 275: ce5f5a9 fscache: optionally enable wsl compability file mode bits
281: 186f2a0 = 276: e25ff56 Merge branch 'fscache'
280: 2d666bf = 277: b6303d9 fscache: implement an FSCache-aware is_mount_point()
283: 72a0ec8 = 278: ef0a63a Merge pull request status: disable and free fscache at the end of the status command git#1909 from benpeart/free-fscache-after-status-gfw
282: 79fa151 = 279: 9482093 clean: make use of FSCache
284: 542dc65 = 280: f8ba03b Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
248: f94b84a = 281: ae0a823 git-gui--askyesno (mingw): use Git for Windows' icon, if available
285: 03503fc = 282: 66c4698 Merge branch 'dont-clean-junctions-fscache'
286: 7ad294a = 283: 8be3ddc pack-objects (mingw): demonstrate a segmentation fault with large deltas
287: 6745093 = 284: 8d28fd1 mingw: support long paths
288: ee315c2 = 285: 73ec319 win32(long path support): leave drive-less absolute paths intact
289: 214f3ea = 286: 0846c60 compat/fsmonitor/fsm-*-win32: support long paths
290: 01c29b7 = 287: e645e9b clean: suggest using
core.longPathsif paths are too long to remove291: ed3e307 = 288: c0307b7 mingw: explicitly specify with which cmd to prefix the cmdline
292: 8f44e72 ! 289: b0fb1f3 mingw: when path_lookup() failed, try BusyBox
293: 22d41cc = 290: 3ab17fd test-tool: learn to act as a drop-in replacement for
iconv294: 00863cd = 291: d3b27fc tests(mingw): if
iconvis unavailable, usetest-helper --iconv295: d63bb85 = 292: 6abd05c gitattributes: mark .png files as binary
296: bf09d12 = 293: 897ee18 tests: move test PNGs into t/lib-diff/
297: 5562777 = 294: 2a78c9d tests: only override sort & find if there are usable ones in /usr/bin/
298: 6695588 = 295: 77947f8 tests: use the correct path separator with BusyBox
299: 96d3ea8 = 296: 74c0451 mingw: only use Bash-ism
builtin pwd -Wwhen available300: 0cf5466 = 297: ce29f18 tests (mingw): remove Bash-specific pwd option
301: c41871c = 298: d35c6d1 test-lib: add BUSYBOX prerequisite
302: 2eaafd2 = 299: 69f98a6 t5003: use binary file from t/lib-diff/
303: 5430c87 = 300: f47fb16 t5532: workaround for BusyBox on Windows
304: 1ff0dbf = 301: d6d065e t5605: special-case hardlink test for BusyBox-w32
305: 4d4e7c7 = 302: 1b2be13 t5813: allow for $PWD to be a Windows path
306: 4494e4b = 303: f1abe8f t9200: skip tests when $PWD contains a colon
307: fcfdc51 = 304: f4bbff6 Partially un-revert "editor: save and reset terminal after calling EDITOR"
308: 89fe2a6 = 305: c8c46d2 reset: reinstate support for the deprecated --stdin option
321: 69f8036 = 306: c6806e5 fsmonitor: reintroduce core.useBuiltinFSMonitor
309: cf25575 = 307: b5edd29 Describe Git for Windows' architecture
310: 5f80959 = 308: 7bbc943 Add an AGENTS.md file to help with AI-assisted debugging/development
311: 493e09e = 309: a382b5c Modify the Code of Conduct for Git for Windows
312: b2256a8 = 310: 293223b Merge branch 'gitk-and-git-gui-patches'
313: f82b182 = 311: f9bc092 CONTRIBUTING.md: add guide for first-time contributors
314: e85afeb = 312: c6feebc Merge branch 'long-paths'
315: 75a8937 = 313: 8b20212 README.md: Add a Windows-specific preamble
316: 0b2bfc3 = 314: 954b1cf Merge branch 'busybox-w32'
317: 59092b6 = 315: bcb06e0 Add an issue template
318: 0db8f0c = 316: 1db88cb Merge branch 'un-revert-editor-save-and-reset'
319: 3c754f3 = 317: e294dff Modify the GitHub Pull Request template (to reflect Git for Windows)
320: 58dd369 = 318: 2aa1398 Add a GitHub workflow to monitor component updates
322: bd7f9a5 = 319: 2b444b3 Merge branch 'phase-out-reset-stdin'
323: 46978f8 = 320: dbdb498 SECURITY.md: document Git for Windows' policies
324: 29654ce = 321: b8e895b dependabot: help keeping GitHub Actions versions up to date
325: a872850 = 322: 39e8fd0 Merge branch 'deprecate-core.useBuiltinFSMonitor'
326: 160ef12 = 323: 237a4ea ci: only run the expensive tests in the Windows tests for now
327: 9091ea9 = 324: c5e2ec2 Merge pull request Start monitoring updates of Git for Windows' components in the open git#2837 from dscho/monitor-component-updates
328: cc7f54c = 325: 64bbd12 Merge 'readme' into HEAD
329: a202d82 = 326: 260674e build(deps): bump actions/cache from 5 to 6
330: d72d905 = 327: d1be5c5 build(deps): bump actions/cache from 5 to 6 (build(deps): bump actions/cache from 5 to 6 git#6303)
331: 9c104d5 = 328: 2df9585 repo: split annotated tags out from total tag count in structure
332: 96b5617 = 329: c2961a1 repo: filter the structure scope via --ref-filter=
333: c6f42d0 = 330: 8265780 repo: report top-N paths by count, disk, and inflated size in structure
334: 292e687 = 331: 37ecce6 t1901: cover the --top option of
git repo structure335: 125dcec = 332: 343120e repo: read the
--topdefault fromrepo.structure.top336: e4ac5eb = 333: a9e218d git-survey: announce the upcoming pivot into
git repo structure337: 1a3325b = 334: dba0b44 survey: turn into a thin shim over
git repo structure338: 53d47d8 = 335: e62f9e6 Turn
git surveyinto a deprecated shim overgit repo structure(Turngit surveyinto a deprecated shim overgit repo structuregit#6268)339: 233b835 = 336: 473ccfb fixup??? repo: filter the structure scope via --ref-filter=
340: df5b95d = 337: ccff41c fixup??? t1901: cover the --top option of
git repo structure341: bc977dc = 338: 9c1b859 fixup??? repo: read the
--topdefault fromrepo.structure.top342: 6a1121a = 339: aa76f60 fixup??? mingw: support long paths
343: dd866e3 = 340: 8bd2818 fixup??? win32(long path support): leave drive-less absolute paths intact
344: dcc5832 = 341: a677c24 fixup??? survey: stub in new experimental 'git-survey' command
345: 3f029bc = 342: b72c288 fixup??? survey: turn into a thin shim over
git repo structure346: 8b6e9b4 = 343: 132eec0 fixup??? survey: stub in new experimental 'git-survey' command
Truncated; see the full conflict report in the workflow run summary.