Skip to content

Commit d1672d9

Browse files
committed
Sync with 1.6.6.2
Signed-off-by: Junio C Hamano <[email protected]>
2 parents 3c65149 + 4133fd2 commit d1672d9

File tree

4 files changed

+53
-4
lines changed

4 files changed

+53
-4
lines changed

Documentation/RelNotes-1.6.6.2.txt

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
Git v1.6.6.2 Release Notes
2+
==========================
3+
4+
Fixes since v1.6.6.2
5+
--------------------
6+
7+
* recursive merge didn't correctly diagnose its own programming errors,
8+
and instead caused the caller to segfault.
9+
10+
* The new "smart http" aware clients probed the web servers to see if
11+
they support smart http, but did not fall back to dumb http transport
12+
correctly with some servers.
13+
14+
* Time based reflog syntax e.g. "@{yesterday}" didn't diagnose a misspelled
15+
time specification and instead assumed "@{now}".
16+
17+
* "git archive HEAD -- no-such-directory" produced an empty archive
18+
without complaining.
19+
20+
* "git blame -L start,end -- file" misbehaved when given a start that is
21+
larger than the number of lines in the file.
22+
23+
* "git checkout -m" didn't correctly call custom merge backend supplied
24+
by the end user.
25+
26+
* "git config -f <file>" misbehaved when run from a subdirectory.
27+
28+
* "git cvsserver" didn't like having regex metacharacters (e.g. '+') in
29+
CVSROOT environment.
30+
31+
* "git fast-import" did not correctly handle large blobs that may
32+
bust the pack size limit.
33+
34+
* "git gui" is supposed to work even when launched from inside a .git
35+
directory.
36+
37+
* "git gui" misbehaved when applying a hunk that ends with deletion.
38+
39+
* "git imap-send" did not honor imap.preformattedHTML as documented.
40+
41+
* "git log" family incorrectly showed the commit notes unconditionally by
42+
mistake, which was especially irritating when running "git log --oneline".
43+
44+
* "git status" shouldn't require an write access to the repository.
45+
46+
Other minor documentation updates are included.

Documentation/git-check-ref-format.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ imposes the following rules on how references are named:
4343

4444
. They cannot contain a sequence `@{`.
4545

46-
- They cannot contain a `\\`.
46+
. They cannot contain a `\\`.
4747

4848
These rules make it easy for shell script based tools to parse
4949
reference names, pathname expansion by the shell when a reference name is used

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.6.6.1/git.html[documentation for release 1.6.6.1]
46+
* link:v1.6.6.2/git.html[documentation for release 1.6.6.2]
4747

4848
* release notes for
49+
link:RelNotes-1.6.6.2.txt[1.6.6.2],
4950
link:RelNotes-1.6.6.1.txt[1.6.6.1],
5051
link:RelNotes-1.6.6.txt[1.6.6].
5152

t/t8003-blame.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,13 @@ EOF
158158
'
159159

160160
test_expect_success 'blame -L with invalid start' '
161-
test_must_fail git blame -L5 tres 2>&1 | grep "has only 2 lines"
161+
test_must_fail git blame -L5 tres 2>errors &&
162+
grep "has only 2 lines" errors
162163
'
163164

164165
test_expect_success 'blame -L with invalid end' '
165-
git blame -L1,5 tres 2>&1 | grep "has only 2 lines"
166+
test_must_fail git blame -L1,5 tres 2>errors &&
167+
grep "has only 2 lines" errors
166168
'
167169

168170
test_done

0 commit comments

Comments
 (0)