Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
4631e22
wt-status: pass struct repository through function parameters
shreyp135 Feb 18, 2026
9d0d2ba
wt-status: replace uses of the_repository with local repository insta…
shreyp135 Feb 18, 2026
a7cd24d
wt-status: use hash_algo from local repository instead of global the_…
shreyp135 Feb 18, 2026
31c771a
builtin/repo: update stats for each object
jltobler Mar 2, 2026
fa17527
builtin/repo: add helper for printing keyvalue output
jltobler Mar 2, 2026
e33ac9c
builtin/repo: collect largest inflated objects
jltobler Mar 2, 2026
e00bb8c
builtin/repo: add OID annotations to table output
jltobler Mar 2, 2026
18952a1
builtin/repo: find commit with most parents
jltobler Mar 2, 2026
42e6959
builtin/repo: find tree with most entries
jltobler Mar 2, 2026
1dd27bf
setup: improve error diagnosis for invalid .git files
malon7782 Mar 4, 2026
26b974b
check_connected(): delay opening new_pack
peff Mar 5, 2026
0921da1
check_connected(): fix leak of pack-index mmap
peff Mar 5, 2026
e2f1139
pack-revindex: avoid double-loading .rev files
peff Mar 5, 2026
b68e875
object-file: fix mmap() leak in odb_source_loose_read_object_stream()
peff Mar 7, 2026
00611d8
Makefile: turn on NO_MMAP when building with LSan
peff Mar 5, 2026
a8a69bb
meson: turn on NO_MMAP when building with LSan
peff Mar 6, 2026
beca0ca
doc: make it easier to find custom command information
omrisarig13 Mar 7, 2026
d3edca9
t3310: avoid hiding failures from rev-parse in command substitutions
frapaparatto Mar 7, 2026
d1f33c7
history: initialize rev_info in cmd_history_reword()
rscharfe Mar 8, 2026
4c22357
patch-ids: document intentional const-casting in patch_id_neq()
Mar 9, 2026
b8ac2bf
Merge branch 'sp/wt-status-wo-the-repository'
gitster Mar 16, 2026
61a45be
Merge branch 'jt/repo-structure-extrema'
gitster Mar 16, 2026
a11f0ad
Merge branch 'fp/t3310-unhide-git-failures'
gitster Mar 16, 2026
d4b2a79
Merge branch 'os/doc-git-custom-commands'
gitster Mar 16, 2026
c563b12
Merge branch 'ty/setup-error-tightening'
gitster Mar 16, 2026
2eec0f5
Merge branch 'jk/unleak-mmap'
gitster Mar 16, 2026
3c59f3b
Merge branch 'rs/history-ergonomics-updates-fix'
gitster Mar 16, 2026
9883fcb
Merge branch 'ty/patch-ids-document-lazy-eval'
gitster Mar 16, 2026
ca1db8a
The 17th batch
gitster Mar 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Documentation/RelNotes/2.54.0.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ UI, Workflows & Features
and various other branches listed on status.compareBranches
configuration.

* "git repo structure" command learns to report maximum values on
various aspects of objects it inspects.


Performance, Internal Implementation, Development Support etc.
--------------------------------------------------------------
Expand Down Expand Up @@ -187,6 +190,9 @@ Performance, Internal Implementation, Development Support etc.
* The object source API is getting restructured to allow plugging new
backends.

* Reduce dependence on the global the_hash_algo and the_repository
variables of wt-status code path.


Fixes since v2.53
-----------------
Expand Down Expand Up @@ -301,6 +307,22 @@ Fixes since v2.53
* "git for-each-repo" started from a secondary worktree did not work
as expected, which has been corrected.
(merge e87493b9b4 ds/for-each-repo-w-worktree later to maint).

* The construct 'test "$(command)" = expectation' loses the exit
status from the command, which has been fixed by breaking up the
statement into pieces.
(merge d3edca979a fp/t3310-unhide-git-failures later to maint).

* While discovering a ".git" directory, the code treats any stat()
failure as a sign that a filesystem entity .git does not exist
there, and ignores ".git" that is not a "gitdir" file or a
directory. The code has been tightened to notice and report
filesystem corruption better.
(merge 1dd27bfbfd ty/setup-error-tightening later to maint).

* Plug a few leaks where mmap'ed memory regions are not unmapped.
(merge a8a69bbb64 jk/unleak-mmap later to maint).

* Other code cleanup, docfix, build fix, etc.
(merge d79fff4a11 jk/remote-tracking-ref-leakfix later to maint).
(merge 7a747f972d dd/t5403-modernise later to maint).
Expand Down Expand Up @@ -338,3 +360,5 @@ Fixes since v2.53
(merge a56fa1ca05 lp/doc-gitprotocol-pack-fixes later to maint).
(merge 0d6bb8b541 ss/t3700-modernize later to maint).
(merge 63c00a677b ss/t9123-setup-inside-test-expect-success later to maint).
(merge beca0ca4be os/doc-git-custom-commands later to maint).
(merge 4c223571be ty/patch-ids-document-lazy-eval later to maint).
1 change: 1 addition & 0 deletions Documentation/git-repo.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ supported:
* Reachable object counts categorized by type
* Total inflated size of reachable objects by type
* Total disk size of reachable objects by type
* Largest reachable objects in the repository by type
+
The output format can be chosen through the flag `--format`. Three formats are
supported:
Expand Down
5 changes: 4 additions & 1 deletion Documentation/git.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,10 @@ GIT COMMANDS
------------

We divide Git into high level ("porcelain") commands and low level
("plumbing") commands.
("plumbing") commands. For defining command aliases, see
linkgit:git-config[1] and look for descriptions of `alias.*`.
For installing custom "git" subcommands, see the description for
the 'PATH' environment variable in this manual.

High-level commands (porcelain)
-------------------------------
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1605,6 +1605,7 @@ BASIC_CFLAGS += -DSHA1DC_FORCE_ALIGNED_ACCESS
endif
ifneq ($(filter leak,$(SANITIZERS)),)
BASIC_CFLAGS += -O0
NO_MMAP = CatchMapLeaks
SANITIZE_LEAK = YesCompiledWithIt
endif
ifneq ($(filter address,$(SANITIZERS)),)
Expand Down
2 changes: 1 addition & 1 deletion builtin/history.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ static int cmd_history_reword(int argc,
};
struct strbuf reflog_msg = STRBUF_INIT;
struct commit *original, *rewritten;
struct rev_info revs;
struct rev_info revs = { 0 };
int ret;

argc = parse_options(argc, argv, prefix, options, usage, 0);
Expand Down
Loading