Skip to content

Commit a028561

Browse files
committed
Merge branch 'master' into next
* master: Update draft release notes to 1.7.8 Git 1.7.7.2 name-hash.c: always initialize dir_next pointer svn: Quote repository root in regex match mingw: poll.h is no longer in sys/ t7511: avoid use of reserved filename on Windows.
2 parents bcc18e3 + 87bf9a7 commit a028561

File tree

6 files changed

+60
-60
lines changed

6 files changed

+60
-60
lines changed

Documentation/RelNotes/1.7.7.2.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
Git v1.7.7.2 Release Notes
2+
==========================
3+
4+
Fixes since v1.7.7.1
5+
--------------------
6+
7+
* We used to drop error messages from libcurl on certain kinds of
8+
errors.
9+
10+
* Error report from smart HTTP transport, when the connection was
11+
broken in the middle of a transfer, showed a useless message on
12+
a corrupt packet.
13+
14+
* "git fetch --prune" was unsafe when used with refspecs from the
15+
command line.
16+
17+
* The attribute mechanism did not use case insensitive match when
18+
core.ignorecase was set.
19+
20+
* "git bisect" did not notice when it failed to update the working tree
21+
to the next commit to be tested.
22+
23+
* "git config --bool --get-regexp" failed to separate the variable name
24+
and its value "true" when the variable is defined without "= true".
25+
26+
* "git remote rename $a $b" were not careful to match the remote name
27+
against $a (i.e. source side of the remote nickname).
28+
29+
* "git mergetool" did not use its arguments as pathspec, but as a path to
30+
the file that may not even have any conflict.
31+
32+
* "git diff --[num]stat" used to use the number of lines of context
33+
different from the default, potentially giving different results from
34+
"git diff | diffstat" and confusing the users.
35+
36+
* "git pull" and "git rebase" did not work well even when GIT_WORK_TREE is
37+
set correctly with GIT_DIR if the current directory is outside the working
38+
tree.
39+
40+
* "git send-email" did not honor the configured hostname when restarting
41+
the HELO/EHLO exchange after switching TLS on.
42+
43+
* "gitweb" used to produce a non-working link while showing the contents
44+
of a blob, when JavaScript actions are enabled.

Documentation/RelNotes/1.7.8.txt

Lines changed: 11 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ Updates since v1.7.7
7979

8080
* "git ls-remote" learned to respond to "-h"(elp) requests.
8181

82+
* "mediawiki" remote helper can interact with (surprise!) MediaWiki
83+
with "git fetch" & "git push".
84+
8285
* "git merge" learned the "--edit" option to allow users to edit the
8386
merge commit log message.
8487

@@ -110,8 +113,8 @@ Updates since v1.7.7
110113
between commits in the superproject that has and does not have the
111114
submodule in the tree without re-cloning.
112115

113-
* "mediawiki" remote helper can interact with (surprise!) MediaWiki
114-
with "git fetch" & "git push".
116+
* "git upload-archive" (hence "git archive --remote") can be built
117+
and used on mingw port of Git.
115118

116119
* "gitweb" leaked unescaped control characters from syntax hiliter
117120
outputs.
@@ -131,15 +134,6 @@ Fixes since v1.7.7
131134
Unless otherwise noted, all fixes in the 1.7.7.X maintenance track are
132135
included in this release.
133136

134-
* We used to drop error messages from libcurl on certain kinds of
135-
errors.
136-
(merge be22d92eac8 jn/maint-http-error-message later to maint).
137-
138-
* Error report from smart HTTP transport, when the connection was
139-
broken in the middle of a transfer, showed a useless message on
140-
a corrupt packet.
141-
(merge 6cdf022 sp/smart-http-failure later to maint).
142-
143137
* HTTP transport did not use pushurl correctly, and also did not tell
144138
what host it is trying to authenticate with when asking for
145139
credentials.
@@ -156,65 +150,27 @@ included in this release.
156150
with too many refs were unnecessarily slow.
157151
(merge 17d68a54d jp/get-ref-dir-unsorted later to maint).
158152

159-
* "git fetch --prune" was unsafe when used with refspecs from the
160-
command line.
161-
(merge e8c1e6c cn/fetch-prune later to maint).
162-
163153
* Report from "git commit" on untracked files was confused under
164154
core.ignorecase option.
165-
(merge 2548183b jk/name-hash-dirent later to maint).
166-
167-
* The attribute mechanism did not use case insensitive match when
168-
core.ignorecase was set.
169-
(merge 6eba621 bc/attr-ignore-case later to maint).
170-
171-
* "git bisect" did not notice when it failed to update the working tree
172-
to the next commit to be tested.
173-
(merge 1acf11717 js/bisect-no-checkout later to maint).
174-
175-
* "git config --bool --get-regexp" failed to separate the variable name
176-
and its value "true" when the variable is defined without "= true".
177-
(merge 880e3cc mm/maint-config-explicit-bool-display later to maint).
178-
179-
* "git remote rename $a $b" were not careful to match the remote name
180-
against $a (i.e. source side of the remote nickname).
181-
(merge b52d00aed mz/remote-rename later to maint).
182-
183-
* "git diff --[num]stat" used to use the number of lines of context
184-
different from the default, potentially giving different results from
185-
"git diff | diffstat" and confusing the users.
186-
(merge f01cae918 jc/maint-diffstat-numstat-context later to maint).
155+
(merge 395c7356 jk/name-hash-dirent later to maint).
187156

188157
* "git merge" did not understand ":/<pattern>" as a way to name a commit.
189158

190-
* "git mergetool" learned to use its arguments as pathspec, not a path to
191-
the file that may not even have any conflict.
192-
(merge 6d9990a jm/mergetool-pathspec later to maint).
193-
194-
* "git pull" and "git rebase" did not work well even when GIT_WORK_TREE is
195-
set correctly with GIT_DIR if the current directory is outside the working
196-
tree.
197-
(merge 035b5bf jk/pull-rebase-with-work-tree later to maint).
198-
199159
" "git push" on the receiving end used to call post-receive and post-update
200160
hooks for attempted removal of non-existing refs.
201161
(merge 160b81ed ph/push-to-delete-nothing later to maint).
202162

203-
* "git send-email" did not honor the configured hostname when restarting
204-
the HELO/EHLO exchange after switching TLS on.
205-
(merge 155b940 md/smtp-tls-hello-again later to maint).
206-
207-
* "gitweb" used to produce a non-working link while showing the contents
208-
of a blob, when JavaScript actions are enabled.
209-
(merge 2b07ff3ff ps/gitweb-js-with-lineno later to maint).
210-
211163
* The logic to filter out forked projects in the project list in
212164
"gitweb" was broken for some time.
213165
(merge 53c632f jm/maint-gitweb-filter-forks-fix later to maint).
214166

167+
* The logic to optimize the locality of the data in a pack introduced in
168+
1.7.7 was grossly inefficient.
169+
(merge 38d4deb dm/pack-objects-update later to maint).
170+
215171
---
216172
exec >/var/tmp/1
217-
O=v1.7.7.1-492-g324bc2a
173+
O=v1.7.8-rc0-32-g8e3565f
218174
echo O=$(git describe --always master)
219175
git log --first-parent --oneline --reverse ^$O master
220176
echo

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ LIB_H += compat/mingw.h
515515
LIB_H += compat/obstack.h
516516
LIB_H += compat/win32/pthread.h
517517
LIB_H += compat/win32/syslog.h
518-
LIB_H += compat/win32/sys/poll.h
518+
LIB_H += compat/win32/poll.h
519519
LIB_H += compat/win32/dirent.h
520520
LIB_H += connected.h
521521
LIB_H += csum-file.h

git-svn.perl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ sub populate_merge_info {
684684
fatal "merge commit $d has ancestor $parent, but that change "
685685
."does not have git-svn metadata!";
686686
}
687-
unless ($branchurl =~ /^$rooturl(.*)/) {
687+
unless ($branchurl =~ /^\Q$rooturl\E(.*)/) {
688688
fatal "commit $parent git-svn metadata changed mid-run!";
689689
}
690690
my $branchpath = $1;
@@ -867,7 +867,7 @@ sub cmd_dcommit {
867867
."has uuid $uuid!";
868868
}
869869

870-
unless ($branchurl =~ /^$rooturl(.*)/) {
870+
unless ($branchurl =~ /^\Q$rooturl\E(.*)/) {
871871
# This branch is very strange indeed.
872872
fatal "merge parent $parent for $d is on branch "
873873
."$branchurl, which is not under the "

name-hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ static void hash_index_entry(struct index_state *istate, struct cache_entry *ce)
7474
if (ce->ce_flags & CE_HASHED)
7575
return;
7676
ce->ce_flags |= CE_HASHED;
77-
ce->next = NULL;
77+
ce->next = ce->dir_next = NULL;
7878
hash = hash_name(ce->name, ce_namelen(ce));
7979
pos = insert_hash(hash, ce, &istate->name_hash);
8080
if (pos) {

t/t7511-status-index.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ check() {
2424

2525
check 1
2626
check 2 p
27-
check 3 pr
27+
check 3 px
2828
check 4 pre
2929
check 5 pref
3030
check 6 prefi

0 commit comments

Comments
 (0)