Skip to content

Commit 3c7d509

Browse files
committed
Sync with 1.7.12.1
2 parents 5976753 + 304b7d9 commit 3c7d509

File tree

5 files changed

+33
-14
lines changed

5 files changed

+33
-14
lines changed

Documentation/RelNotes/1.7.12.1.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,22 @@ Fixes since v1.7.12
8585
rely on being able to parse "ls-files -s | while read a b c..."
8686
started to fail. Protect them from such a misconfiguration.
8787

88+
* The attribute system may be asked for a path that itself or its
89+
leading directories no longer exists in the working tree, and it is
90+
fine if we cannot open .gitattribute file in such a case. Failure
91+
to open per-directory .gitattributes with error status other than
92+
ENOENT and ENOTDIR should be diagnosed, but it wasn't.
93+
8894
* After "gitk" showed the contents of a tag, neither "Reread
8995
references" nor "Reload" did not update what is shown as the
9096
contents of it, when the user overwrote the tag with "git tag -f".
9197

9298
* "ciabot" script (in contrib/) has been updated with extensive
9399
documentation.
94100

101+
* "git-jump" script (in contrib/) did not work well when
102+
diff.noprefix or diff.mnemonicprefix is in effect.
103+
95104
* Older parts of the documentation described as if having a regular
96105
file in .git/refs/ hierarchy were the only way to have branches and
97106
tags, which is not true for quite some time.
@@ -121,3 +130,5 @@ Fixes since v1.7.12
121130
branch name is a parameter to the option, but the heading for the
122131
option description was "-B::", not "-B branch::", making the
123132
documentation misleading.
133+
134+
Also contains numerous documentation updates.

Documentation/git-fast-import.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ OPTIONS
3939
See ``Date Formats'' below for details about which formats
4040
are supported, and their syntax.
4141

42+
-- done::
43+
Terminate with error if there is no 'done' command at the
44+
end of the stream.
45+
4246
--force::
4347
Force updating modified existing branches, even if doing
4448
so would cause commits to be lost (as the new commit does
@@ -1047,7 +1051,9 @@ done::
10471051
Error out if the stream ends without a 'done' command.
10481052
Without this feature, errors causing the frontend to end
10491053
abruptly at a convenient point in the stream can go
1050-
undetected.
1054+
undetected. This may occur, for example, if an import
1055+
front end dies in mid-operation without emitting SIGTERM
1056+
or SIGKILL at its subordinate git fast-import instance.
10511057

10521058
`option`
10531059
~~~~~~~~

Documentation/git-filter-branch.txt

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,11 @@ committed a merge between P1 and P2, it will be propagated properly
304304
and all children of the merge will become merge commits with P1,P2
305305
as their parents instead of the merge commit.
306306

307+
*NOTE* the changes introduced by the commits, and which are not reverted
308+
by subsequent commits, will still be in the rewritten branch. If you want
309+
to throw out _changes_ together with the commits, you should use the
310+
interactive mode of 'git rebase'.
311+
307312
You can rewrite the commit log messages using `--msg-filter`. For
308313
example, 'git svn-id' strings in a repository created by 'git svn' can
309314
be removed this way:
@@ -314,11 +319,6 @@ git filter-branch --msg-filter '
314319
'
315320
-------------------------------------------------------
316321

317-
To restrict rewriting to only part of the history, specify a revision
318-
range in addition to the new branch name. The new branch name will
319-
point to the top-most revision that a 'git rev-list' of this range
320-
will print.
321-
322322
If you need to add 'Acked-by' lines to, say, the last 10 commits (none
323323
of which is a merge), use this command:
324324

@@ -329,11 +329,10 @@ git filter-branch --msg-filter '
329329
' HEAD~10..HEAD
330330
--------------------------------------------------------
331331

332-
*NOTE* the changes introduced by the commits, and which are not reverted
333-
by subsequent commits, will still be in the rewritten branch. If you want
334-
to throw out _changes_ together with the commits, you should use the
335-
interactive mode of 'git rebase'.
336-
332+
To restrict rewriting to only part of the history, specify a revision
333+
range in addition to the new branch name. The new branch name will
334+
point to the top-most revision that a 'git rev-list' of this range
335+
will print.
337336

338337
Consider this history:
339338

Documentation/git.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ unreleased) version of git, that is available from 'master'
4343
branch of the `git.git` repository.
4444
Documentation for older releases are available here:
4545

46-
* link:v1.7.12/git.html[documentation for release 1.7.12]
46+
* link:v1.7.12.1/git.html[documentation for release 1.7.12.1]
4747

4848
* release notes for
49+
link:RelNotes/1.7.12.1.txt[1.7.12.1],
4950
link:RelNotes/1.7.12.txt[1.7.12].
5051

5152
* link:v1.7.11.7/git.html[documentation for release 1.7.11.7]

Documentation/technical/pack-protocol.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,10 @@ a positive depth, this step is skipped.
259259
----
260260

261261
If the client has requested a positive depth, the server will compute
262-
the set of commits which are no deeper than the desired depth, starting
263-
at the client's wants. The server writes 'shallow' lines for each
262+
the set of commits which are no deeper than the desired depth. The set
263+
of commits start at the client's wants.
264+
265+
The server writes 'shallow' lines for each
264266
commit whose parents will not be sent as a result. The server writes
265267
an 'unshallow' line for each commit which the client has indicated is
266268
shallow, but is no longer shallow at the currently requested depth

0 commit comments

Comments
 (0)