Skip to content

Commit 34d886d

Browse files
committed
Autogenerated HTML docs for v2.45.2-457-g8d94c
1 parent b1ac34d commit 34d886d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+110
-64
lines changed

DecisionMaking.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@
735735
<body class="article">
736736
<div id="header">
737737
<h1>Decision-Making Process in the Git Project</h1>
738-
<span id="revdate">2024-06-06</span>
738+
<span id="revdate">2024-06-10</span>
739739
</div>
740740
<div id="content">
741741
<div class="sect1">

MyFirstContribution.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@
735735
<body class="article">
736736
<div id="header">
737737
<h1>My First Contribution to the Git Project</h1>
738-
<span id="revdate">2024-06-06</span>
738+
<span id="revdate">2024-06-10</span>
739739
</div>
740740
<div id="content">
741741
<div class="sect1">

MyFirstObjectWalk.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@
735735
<body class="article">
736736
<div id="header">
737737
<h1>My First Object Walk</h1>
738-
<span id="revdate">2024-06-06</span>
738+
<span id="revdate">2024-06-10</span>
739739
</div>
740740
<div id="content">
741741
<div class="sect1">

RelNotes/2.46.0.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ Performance, Internal Implementation, Development Support etc.
117117
* "git add -p" learned to complain when an answer with more than one
118118
letter is given to a prompt that expects a single letter answer.
119119

120+
* The alias-expanded command lines are logged to the trace output.
121+
120122

121123
Fixes since v2.45
122124
-----------------
@@ -210,6 +212,8 @@ Fixes since v2.45
210212
which has been corrected.
211213
(merge 407997c1dd ps/fix-reinit-includeif-onbranch later to maint).
212214

215+
* Memory leaks in "git mv" has been plugged.
216+
213217
* Other code cleanup, docfix, build fix, etc.
214218
(merge a5a4cb7b27 rs/diff-parseopts-cleanup later to maint).
215219
(merge 55702c543e fa/p4-error later to maint).

ReviewingGuidelines.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@
735735
<body class="article">
736736
<div id="header">
737737
<h1>Reviewing Patches in the Git Project</h1>
738-
<span id="revdate">2024-06-06</span>
738+
<span id="revdate">2024-06-10</span>
739739
</div>
740740
<div id="content">
741741
<div class="sect1">

SubmittingPatches.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@
735735
<body class="article">
736736
<div id="header">
737737
<h1>Submitting Patches</h1>
738-
<span id="revdate">2024-06-06</span>
738+
<span id="revdate">2024-06-10</span>
739739
</div>
740740
<div id="content">
741741
<div class="sect1">

ToolsForGit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@
735735
<body class="article">
736736
<div id="header">
737737
<h1>Tools for developing Git</h1>
738-
<span id="revdate">2024-06-06</span>
738+
<span id="revdate">2024-06-10</span>
739739
</div>
740740
<div id="content">
741741
<div class="sect1">

everyday.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@
735735
<body class="article">
736736
<div id="header">
737737
<h1>Everyday Git With 20 Commands Or So</h1>
738-
<span id="revdate">2024-06-06</span>
738+
<span id="revdate">2024-06-10</span>
739739
</div>
740740
<div id="content">
741741
<div id="preamble">

git-config.html

Lines changed: 46 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2560,11 +2560,53 @@ <h3 id="_variables">Variables</h3>
25602560
it will be treated as a shell command. For example, defining
25612561
<code>alias.new = !gitk --all --not ORIG_HEAD</code>, the invocation
25622562
<code>git new</code> is equivalent to running the shell command
2563-
<code>gitk --all --not ORIG_HEAD</code>. Note that shell commands will be
2564-
executed from the top-level directory of a repository, which may
2565-
not necessarily be the current directory.
2563+
<code>gitk --all --not ORIG_HEAD</code>. Note:</p></div>
2564+
<div class="ulist"><ul>
2565+
<li>
2566+
<p>
2567+
Shell commands will be executed from the top-level directory of a
2568+
repository, which may not necessarily be the current directory.
2569+
</p>
2570+
</li>
2571+
<li>
2572+
<p>
25662573
<code>GIT_PREFIX</code> is set as returned by running <code>git rev-parse --show-prefix</code>
2567-
from the original current directory. See <a href="git-rev-parse.html">git-rev-parse(1)</a>.</p></div>
2574+
from the original current directory. See <a href="git-rev-parse.html">git-rev-parse(1)</a>.
2575+
</p>
2576+
</li>
2577+
<li>
2578+
<p>
2579+
Shell command aliases always receive any extra arguments provided to
2580+
the Git command-line as positional arguments.
2581+
</p>
2582+
<div class="ulist"><ul>
2583+
<li>
2584+
<p>
2585+
Care should be taken if your shell alias is a "one-liner" script
2586+
with multiple commands (e.g. in a pipeline), references multiple
2587+
arguments, or is otherwise not able to handle positional arguments
2588+
added at the end. For example: <code>alias.cmd = "!echo $1 | grep $2"</code>
2589+
called as <code>git cmd 1 2</code> will be executed as <em>echo $1 | grep $2
2590+
1 2</em>, which is not what you want.
2591+
</p>
2592+
</li>
2593+
<li>
2594+
<p>
2595+
A convenient way to deal with this is to write your script
2596+
operations in an inline function that is then called with any
2597+
arguments from the command-line. For example `alias.cmd = "!c() {
2598+
echo $1 | grep $2 ; }; c" will correctly execute the prior example.
2599+
</p>
2600+
</li>
2601+
<li>
2602+
<p>
2603+
Setting <code>GIT_TRACE=1</code> can help you debug the command being run for
2604+
your alias.
2605+
</p>
2606+
</li>
2607+
</ul></div>
2608+
</li>
2609+
</ul></div>
25682610
</dd>
25692611
<dt class="hdlist1">
25702612
am.keepcr

git-remote-helpers.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@
735735
<body class="article">
736736
<div id="header">
737737
<h1>git-remote-helpers</h1>
738-
<span id="revdate">2024-06-06</span>
738+
<span id="revdate">2024-06-10</span>
739739
</div>
740740
<div id="content">
741741
<div id="preamble">

0 commit comments

Comments
 (0)