Autogenerated HTML docs for v2.55.0-424-g13c7af
diff --git a/RelNotes/2.56.0.adoc b/RelNotes/2.56.0.adoc index 811f74b..cf2da31 100644 --- a/RelNotes/2.56.0.adoc +++ b/RelNotes/2.56.0.adoc
@@ -56,6 +56,11 @@ standardized to make them consistent with each other and with other commands. + * 'git log --graph' has been modified to visually distinguish parentless + 'root' commits (and commits that become roots due to history + simplification) by indenting them, preventing them from appearing + falsely related to unrelated commits rendered immediately above them. + Performance, Internal Implementation, Development Support etc. -------------------------------------------------------------- @@ -206,6 +211,36 @@ pathspec filtering, which was lost when the streaming walk was refactored. + * The ref subsystem and the worktree API have been refactored to pass a + repository pointer down the call chain, allowing them to drop + references to the global 'the_repository' variable. As part of this, + the handling of the 'core.packedRefsTimeout' configuration has been + moved into the per-repository ref store structure. + + * 'git branch --contains' and 'git for-each-ref --contains' have been + optimized to use the memoized commit traversal previously used only by + 'git tag --contains', significantly speeding up connectivity checks + across many candidate refs with shared history. + + * The passing of push destination specifications in the 'remote-curl' + helper has been simplified by removing the explicit 'count' parameter + and relying on the NULL-termination of the array. + + * The dependency on the global 'the_repository' variable in the + 'refspec.c' API has been removed by passing the hash algorithm + explicitly to refspec-parsing functions and storing it in 'struct + refspec'. + + * The enumeration of untracked and ignored files in 'git status' has + been optimized by avoiding quadratic complexity when inserting into + string lists, reducing the construction cost from O(n^2) to O(n log + n). + + * The copy_file() and copy_file_with_time() functions have been + refactored to take a repository parameter, allowing the removal of the + implicit dependency on the global 'the_repository' variable in + 'copy.c'. + Fixes since v2.55 ----------------- @@ -350,3 +385,19 @@ 'git submodule update' command until it was broken in a modernization of the option-parsing code, has been restored. (merge ff1da37f58 dm/submodule-update-i-shorthand later to maint). + + * An accidental use of the '%zu' format specifier in 'git + submodule--helper' has been corrected to use 'PRIuMAX' and cast the + value to 'uintmax_t' to avoid portability issues. + (merge 3279c13c00 jc/submodule-helper-avoid-zu later to maint). + + * The rebase post-rewrite notes-copying logic has been corrected. When + a commit is dropped during rebase (e.g., because its changes are + already upstream), it is no longer recorded as rewritten, preventing + its notes from being copied to an unrelated commit. + (merge 42554b78fd pw/rebase-drop-notes-with-commit later to maint). + + * A few memory problems in the Rust interface to C hash functions have + been corrected. The 'Clone' implementation of 'CryptoHasher' now + properly initializes the context before cloning, and its 'Drop' + implementation now discards the context to prevent leaks.
diff --git a/git-config.html b/git-config.html index b3c38d2..4457c5e 100644 --- a/git-config.html +++ b/git-config.html
@@ -7089,6 +7089,11 @@ <p>A list of colors, separated by commas, that can be used to draw history lines in <code>git</code> <code>log</code> <code>--graph</code>.</p> </dd> +<dt class="hdlist1"><code>log.graphIndent</code></dt> +<dd> +<p>If <code>true</code>, indent visual roots when rendering the graphs with <code>--graph</code>. +Set true by default. It can be overriden with <code>--</code>[<code>no-</code>]<code>graph-indent</code>.</p> +</dd> <dt class="hdlist1"><code>log.showRoot</code></dt> <dd> <p>If true, the initial commit will be shown as a big creation event.
diff --git a/git-log.html b/git-log.html index ba7c5e3..78c2954 100644 --- a/git-log.html +++ b/git-log.html
@@ -2031,6 +2031,15 @@ By default it is set to 0 (no limit), zero and negative values are ignored and treated as no limit.</p> </dd> +<dt class="hdlist1"><code>--no-graph-indent</code></dt> +<dt class="hdlist1"><code>--graph-indent</code></dt> +<dd> +<p>When used with <code>--graph</code>, indent visual roots (commits with no parents +or whose parents are not shown) to differentiate them from commits that +are vertically adjacent but unrelated. Enabled by default. Use +<code>--no-graph-indent</code> to disable or set <code>log.graphIndent</code> to set a +default preference.</p> +</dd> </dl> </div> </div> @@ -4418,6 +4427,11 @@ <p>A list of colors, separated by commas, that can be used to draw history lines in <code>git</code> <code>log</code> <code>--graph</code>.</p> </dd> +<dt class="hdlist1"><code>log.graphIndent</code></dt> +<dd> +<p>If <code>true</code>, indent visual roots when rendering the graphs with <code>--graph</code>. +Set true by default. It can be overriden with <code>--</code>[<code>no-</code>]<code>graph-indent</code>.</p> +</dd> <dt class="hdlist1"><code>log.showRoot</code></dt> <dd> <p>If true, the initial commit will be shown as a big creation event.
diff --git a/git-rev-list.html b/git-rev-list.html index b210ee8..ba3aad4 100644 --- a/git-rev-list.html +++ b/git-rev-list.html
@@ -2139,6 +2139,15 @@ By default it is set to 0 (no limit), zero and negative values are ignored and treated as no limit.</p> </dd> +<dt class="hdlist1"><code>--no-graph-indent</code></dt> +<dt class="hdlist1"><code>--graph-indent</code></dt> +<dd> +<p>When used with <code>--graph</code>, indent visual roots (commits with no parents +or whose parents are not shown) to differentiate them from commits that +are vertically adjacent but unrelated. Enabled by default. Use +<code>--no-graph-indent</code> to disable or set <code>log.graphIndent</code> to set a +default preference.</p> +</dd> <dt class="hdlist1"><code>--count</code></dt> <dd> <p>Print a number stating how many commits would have been
diff --git a/rev-list-options.adoc b/rev-list-options.adoc index eaee6ee..fd831f0 100644 --- a/rev-list-options.adoc +++ b/rev-list-options.adoc
@@ -1269,6 +1269,14 @@ By default it is set to 0 (no limit), zero and negative values are ignored and treated as no limit. +`--no-graph-indent`:: +`--graph-indent`:: + When used with `--graph`, indent visual roots (commits with no parents + or whose parents are not shown) to differentiate them from commits that + are vertically adjacent but unrelated. Enabled by default. Use + `--no-graph-indent` to disable or set `log.graphIndent` to set a + default preference. + ifdef::git-rev-list[] `--count`:: Print a number stating how many commits would have been