Skip to content

Commit 6899e65

Browse files
committed
Merge pull request #10 from t-b/mergeing-rebase-to-v2.1.2
Merging rebase to v2.1.2
2 parents 3c2874a + d69ba23 commit 6899e65

Some content is hidden

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

64 files changed

+23774
-10593
lines changed

Documentation/RelNotes/2.1.1.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
Git v2.1.1 Release Notes
2+
========================
3+
4+
* Git 2.0 had a regression where "git fetch" into a shallowly
5+
cloned repository from a repository with bitmap object index
6+
enabled did not work correctly. This has been corrected.
7+
8+
* Git 2.0 had a regression which broke (rarely used) "git diff-tree
9+
-t". This has been corrected.
10+
11+
* "git log --pretty/format=" with an empty format string did not
12+
mean the more obvious "No output whatsoever" but "Use default
13+
format", which was counterintuitive. Now it means "nothing shown
14+
for the log message part".
15+
16+
* "git -c section.var command" and "git -c section.var= command"
17+
should pass the configuration differently (the former should be a
18+
boolean true, the latter should be an empty string), but they
19+
didn't work that way. Now it does.
20+
21+
* Applying a patch not generated by Git in a subdirectory used to
22+
check the whitespace breakage using the attributes for incorrect
23+
paths. Also whitespace checks were performed even for paths
24+
excluded via "git apply --exclude=<path>" mechanism.
25+
26+
* "git bundle create" with date-range specification were meant to
27+
exclude tags outside the range, but it did not work correctly.
28+
29+
* "git add x" where x that used to be a directory has become a
30+
symbolic link to a directory misbehaved.
31+
32+
* The prompt script checked $GIT_DIR/ref/stash file to see if there
33+
is a stash, which was a no-no.
34+
35+
* "git checkout -m" did not switch to another branch while carrying
36+
the local changes forward when a path was deleted from the index.
37+
38+
* With sufficiently long refnames, fast-import could have overflown
39+
an on-stack buffer.
40+
41+
* After "pack-refs --prune" packed refs at the top-level, it failed
42+
to prune them.
43+
44+
* "git gc --auto" triggered from "git fetch --quiet" was not quiet.

Documentation/RelNotes/2.1.2.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Git v2.1.2 Release Notes
2+
========================
3+
4+
* "git push" over HTTP transport had an artificial limit on number of
5+
refs that can be pushed imposed by the command line length.
6+
7+
* When receiving an invalid pack stream that records the same object
8+
twice, multiple threads got confused due to a race.
9+
10+
* An attempt to remove the entire tree in the "git fast-import" input
11+
stream caused it to misbehave.
12+
13+
* Reachability check (used in "git prune" and friends) did not add a
14+
detached HEAD as a starting point to traverse objects still in use.
15+
16+
* "git config --add section.var val" used to lose existing
17+
section.var whose value was an empty string.
18+
19+
* "git fsck" failed to report that it found corrupt objects via its
20+
exit status in some cases.

Documentation/git-rebase.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SYNOPSIS
99
--------
1010
[verse]
1111
'git rebase' [-i | --interactive] [options] [--exec <cmd>] [--onto <newbase>]
12-
[<upstream>] [<branch>]
12+
[<upstream> [<branch>]]
1313
'git rebase' [-i | --interactive] [options] [--exec <cmd>] [--onto <newbase>]
1414
--root [<branch>]
1515
'git rebase' --continue | --skip | --abort | --edit-todo
@@ -316,11 +316,8 @@ which makes little sense.
316316

317317
-f::
318318
--force-rebase::
319-
Force the rebase even if the current branch is a descendant
320-
of the commit you are rebasing onto. Normally non-interactive rebase will
321-
exit with the message "Current branch is up to date" in such a
322-
situation.
323-
Incompatible with the --interactive option.
319+
Force a rebase even if the current branch is up-to-date and
320+
the command without `--force` would return without doing anything.
324321
+
325322
You may find this (or --no-ff with an interactive rebase) helpful after
326323
reverting a topic branch merge, as this option recreates the topic branch with

Documentation/git-send-pack.txt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ OPTIONS
3535
Instead of explicitly specifying which refs to update,
3636
update all heads that locally exist.
3737

38+
--stdin::
39+
Take the list of refs from stdin, one per line. If there
40+
are refs specified on the command line in addition to this
41+
option, then the refs from stdin are processed after those
42+
on the command line.
43+
+
44+
If '--stateless-rpc' is specified together with this option then
45+
the list of refs must be in packet format (pkt-line). Each ref must
46+
be in a separate packet, and the list must end with a flush packet.
47+
3848
--dry-run::
3949
Do everything except actually send the updates.
4050

@@ -77,7 +87,8 @@ this flag.
7787
Without '--all' and without any '<ref>', the heads that exist
7888
both on the local side and on the remote side are updated.
7989

80-
When one or more '<ref>' are specified explicitly, it can be either a
90+
When one or more '<ref>' are specified explicitly (whether on the
91+
command line or via `--stdin`), it can be either a
8192
single pattern, or a pair of such pattern separated by a colon
8293
":" (this means that a ref name cannot have a colon in it). A
8394
single pattern '<name>' is just a shorthand for '<name>:<name>'.

Documentation/git-tag.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ committer identity for the current user is used to find the
4242
GnuPG key for signing. The configuration variable `gpg.program`
4343
is used to specify custom GnuPG binary.
4444

45-
Tag objects (created with `-a`, `s`, or `-u`) are called "annotated"
45+
Tag objects (created with `-a`, `-s`, or `-u`) are called "annotated"
4646
tags; they contain a creation date, the tagger name and e-mail, a
4747
tagging message, and an optional GnuPG signature. Whereas a
4848
"lightweight" tag is simply a name for an object (usually a commit

Documentation/git.txt

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

46-
* link:v2.1.0/git.html[documentation for release 2.1]
46+
* link:v2.1.2/git.html[documentation for release 2.1.2]
4747

4848
* release notes for
49+
link:RelNotes/2.1.2.txt[2.1.2],
50+
link:RelNotes/2.1.1.txt[2.1.1],
4951
link:RelNotes/2.1.0.txt[2.1].
5052

5153
* link:v2.0.4/git.html[documentation for release 2.0.4]
@@ -452,6 +454,11 @@ example the following invocations are equivalent:
452454
given will override values from configuration files.
453455
The <name> is expected in the same format as listed by
454456
'git config' (subkeys separated by dots).
457+
+
458+
Note that omitting the `=` in `git -c foo.bar ...` is allowed and sets
459+
`foo.bar` to the boolean true value (just like `[foo]bar` would in a
460+
config file). Including the equals but with an empty value (like `git -c
461+
foo.bar= ...`) sets `foo.bar` to the empty string.
455462

456463
--exec-path[=<path>]::
457464
Path to wherever your core Git programs are installed.

Documentation/technical/pack-protocol.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ references.
467467
----
468468
update-request = *shallow command-list [pack-file]
469469

470-
shallow = PKT-LINE("shallow" SP obj-id)
470+
shallow = PKT-LINE("shallow" SP obj-id LF)
471471

472472
command-list = PKT-LINE(command NUL capability-list LF)
473473
*PKT-LINE(command LF)

GIT-VERSION-GEN

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
GVF=GIT-VERSION-FILE
4-
DEF_VER=v2.1.0
4+
DEF_VER=v2.1.2
55

66
LF='
77
'

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1660,7 +1660,11 @@ endif
16601660
profile:: profile-clean
16611661
$(MAKE) PROFILE=GEN all
16621662
$(MAKE) PROFILE=GEN -j1 test
1663-
$(MAKE) PROFILE=GEN -j1 perf
1663+
@if test -n "$$GIT_PERF_REPO" || test -d .git; then \
1664+
$(MAKE) PROFILE=GEN -j1 perf; \
1665+
else \
1666+
echo "Skipping profile of perf tests..."; \
1667+
fi
16641668
$(MAKE) PROFILE=USE all
16651669

16661670
profile-fast: profile-clean

RelNotes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Documentation/RelNotes/2.1.0.txt
1+
Documentation/RelNotes/2.1.2.txt

0 commit comments

Comments
 (0)