Skip to content

Commit

Permalink
Autogenerated HTML docs for v2.48.0-rc0-38-gff795a
Browse files Browse the repository at this point in the history
  • Loading branch information
gitster committed Dec 19, 2024
1 parent 1f70c26 commit d9d8fa2
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 1 deletion.
16 changes: 16 additions & 0 deletions RelNotes/2.48.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ UI, Workflows & Features
both learned to trigger fsck over the new objects with configurable
fck check levels.

* When "git fetch $remote" notices that refs/remotes/$remote/HEAD is
missing and discovers what branch the other side points with its
HEAD, refs/remotes/$remote/HEAD is updated to point to it.

* "git fetch" honors "remote.<remote>.followRemoteHEAD" settings to
tweak the remote-tracking HEAD in "refs/remotes/<remote>/HEAD".


Performance, Internal Implementation, Development Support etc.
--------------------------------------------------------------
Expand Down Expand Up @@ -265,6 +272,14 @@ Fixes since v2.47
* Fix performance regression of a recent "fatten promisor pack with
local objects" protection against an unwanted gc.

* "git log -p --remerge-diff --reverse" was completely broken.
(merge f94bfa1516 js/log-remerge-keep-ancestry later to maint).

* "git bundle create" with an annotated tag on the positive end of
the revision range had a workaround code for older limitation in
the revision walker, which has become unnecessary.
(merge dd1072dfa8 tc/bundle-with-tag-remove-workaround later to maint).

* Other code cleanup, docfix, build fix, etc.
(merge 77af53f56f aa/t7300-modernize later to maint).
(merge dcd590a39d bf/t-readme-mention-reftable later to maint).
Expand All @@ -273,3 +288,4 @@ Fixes since v2.47
(merge 168ebb7159 jc/doc-error-message-guidelines later to maint).
(merge 18693d7d65 kh/doc-bundle-typofix later to maint).
(merge e2f5d3b491 kh/doc-update-ref-grammofix later to maint).
(merge 8525e92886 mh/doc-windows-home-env later to maint).
14 changes: 14 additions & 0 deletions git-config.html
Original file line number Diff line number Diff line change
Expand Up @@ -8102,6 +8102,20 @@ <h3 id="_variables">Variables</h3>
<p>The default set of server options used when fetching from this remote.
These server options can be overridden by the <code>--server-option=</code> command
line arguments.</p>
</dd>
<dt class="hdlist1">remote.&lt;name&gt;.followRemoteHEAD</dt>
<dd>
<p>How <a href="git-fetch.html">git-fetch(1)</a> should handle updates to <code>remotes/</code><em>&lt;name&gt;</em><code>/HEAD</code>.
The default value is "create", which will create <code>remotes/</code><em>&lt;name&gt;</em><code>/HEAD</code>
if it exists on the remote, but not locally, but will not touch an
already existing local reference. Setting to "warn" will print
a message if the remote has a different value, than the local one and
in case there is no local reference, it behaves like "create".
A variant on "warn" is "warn-if-not-$branch", which behaves like
"warn", but if <code>HEAD</code> on the remote is <code>$branch</code> it will be silent.
Setting to "always" will silently update it to the value on the remote.
Finally, setting it to "never" will never change or create the local
reference.</p>
<div class="paragraph">
<p>This is a multi-valued variable, and an empty value can be used in a higher
priority configuration file (e.g. .<code>git/config</code> in a repository) to clear
Expand Down
11 changes: 10 additions & 1 deletion git.html
Original file line number Diff line number Diff line change
Expand Up @@ -1804,6 +1804,15 @@ <h2 id="_environment_variables">Environment Variables</h2>
<div class="paragraph">
<p>Here are the variables:</p>
</div>
<div class="paragraph">
<p>System
<sub>~</sub><sub>~</sub><sub>~</sub><sub>~</sub><sub>~</sub><sub>~</sub>
<code>HOME</code>::
Specifies the path to the user&#8217;s home directory. On Windows, if
unset, Git will set a process environment variable equal to:
<code>$HOMEDRIVE$HOMEPATH</code> if both <code>$HOMEDRIVE</code> and <code>$HOMEPATH</code> exist;
otherwise <code>$USERPROFILE</code> if <code>$USERPROFILE</code> exists.</p>
</div>
<div class="sect2">
<h3 id="_the_git_repository">The Git Repository</h3>
<div class="paragraph">
Expand Down Expand Up @@ -2675,7 +2684,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2024-12-16 09:37:15 -0800
Last updated 2024-12-19 13:34:21 -0800
</div>
</div>
</body>
Expand Down
8 changes: 8 additions & 0 deletions git.txt
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,14 @@ their values the same way as Boolean valued configuration variables, e.g.

Here are the variables:

System
~~~~~~~~~~~~~~~~~~
`HOME`::
Specifies the path to the user's home directory. On Windows, if
unset, Git will set a process environment variable equal to:
`$HOMEDRIVE$HOMEPATH` if both `$HOMEDRIVE` and `$HOMEPATH` exist;
otherwise `$USERPROFILE` if `$USERPROFILE` exists.

The Git Repository
~~~~~~~~~~~~~~~~~~
These environment variables apply to 'all' core Git commands. Nb: it
Expand Down

0 comments on commit d9d8fa2

Please sign in to comment.