Skip to content

Commit 6f5e880

Browse files
committed
Sync with maint
Signed-off-by: Junio C Hamano <[email protected]>
2 parents 624d351 + 58d4203 commit 6f5e880

12 files changed

+32
-169
lines changed

Documentation/RelNotes/1.7.10.txt

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -99,28 +99,7 @@ details).
9999
(merge f026358 jc/maint-mailmap-output later to maint).
100100

101101
* "checkout -b" did not allow switching out of an unborn branch.
102-
(merge abe1998 jc/checkout-out-of-unborn later to maint).
103-
104-
* "add -e" learned not to show a diff for an otherwise unmodified
105-
submodule that only has uncommitted local changes in the patch
106-
prepared by for the user to edit.
107-
(merge 701825d js/add-e-submodule-fix later to maint).
108-
109-
* "rebase" and "commit --amend" failed to work on commits with ancient
110-
timestamps near year 1970.
111-
(merge 2c733fb jc/parse-date-raw later to maint).
112-
113-
* "git merge --ff-only $tag" failed because it cannot record the
114-
required mergetag without creating a merge, but this is so common
115-
operation for branch that is used _only_ to follow the upstream, so
116-
it is allowed to fast-forward without recording the mergetag.
117-
(merge b5c9f1c jc/merge-ff-only-stronger-than-signed-merge later to maint).
118-
119-
* Typo in "git branch --edit-description my-tpoic" was not diagnosed.
120-
(merge c2d17ba jc/branch-desc-typoavoidance later to maint).
121-
122-
* rpmbuild noticed an unpackaged but installed *.mo file and failed.
123-
(merge 3a9f58c jn/rpm-spec later to maint).
102+
(merge abe1998 jc/checkout-out-of-unborn later to maint).
124103

125104
---
126105
exec >/var/tmp/1

Documentation/RelNotes/1.7.9.1.txt

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,17 @@ Git v1.7.9.1 Release Notes
44
Fixes since v1.7.9
55
------------------
66

7+
* rpmbuild noticed an unpackaged but installed *.mo file and failed.
8+
79
* Subprocesses spawned from various git programs were often left running
810
to completion even when the top-level process was killed.
911

12+
* "git add -e" learned not to show a diff for an otherwise unmodified
13+
submodule that only has uncommitted local changes in the patch
14+
prepared by for the user to edit.
15+
16+
* Typo in "git branch --edit-description my-tpoic" was not diagnosed.
17+
1018
* Using "git grep -l/-L" together with options -W or --break may not
1119
make much sense as the output is to only count the number of hits
1220
and there is no place for file breaks, but the latter options made
@@ -16,14 +24,22 @@ Fixes since v1.7.9
1624
chain and veered into side branch from which the whole change to the
1725
specified paths came.
1826

27+
* "git merge --ff-only $tag" failed because it cannot record the
28+
required mergetag without creating a merge, but this is so common
29+
operation for branch that is used _only_ to follow the upstream, so
30+
it was changed to allow fast-forwarding without recording the mergetag.
31+
32+
* "git mergetool" now gives an empty file as the common base version
33+
to the backend when dealing with the "both sides added, differently"
34+
case.
35+
1936
* "git push -q" was not sufficiently quiet.
2037

2138
* When "git push" fails to update any refs, the client side did not
2239
report an error correctly to the end user.
2340

24-
* "git mergetool" now gives an empty file as the common base version
25-
to the backend when dealing with the "both sides added, differently"
26-
case.
41+
* "rebase" and "commit --amend" failed to work on commits with ancient
42+
timestamps near year 1970.
2743

2844
* When asking for a tag to be pulled, "request-pull" did not show the
2945
name of the tag prefixed with "tags/", which would have helped older

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ pathsep = :
342342

343343
export prefix bindir sharedir sysconfdir gitwebdir localedir
344344

345-
CC = gcc
345+
CC = cc
346346
AR = ar
347347
RM = rm -f
348348
DIFF = diff

t/Makefile

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -73,42 +73,4 @@ gitweb-test:
7373
valgrind:
7474
$(MAKE) GIT_TEST_OPTS="$(GIT_TEST_OPTS) --valgrind"
7575

76-
# Smoke testing targets
77-
-include ../GIT-VERSION-FILE
78-
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo unknown')
79-
uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo unknown')
80-
81-
test-results:
82-
mkdir -p test-results
83-
84-
test-results/git-smoke.tar.gz: test-results
85-
$(PERL_PATH) ./harness \
86-
--archive="test-results/git-smoke.tar.gz" \
87-
$(T)
88-
89-
smoke: test-results/git-smoke.tar.gz
90-
91-
SMOKE_UPLOAD_FLAGS =
92-
ifdef SMOKE_USERNAME
93-
SMOKE_UPLOAD_FLAGS += -F username="$(SMOKE_USERNAME)" -F password="$(SMOKE_PASSWORD)"
94-
endif
95-
ifdef SMOKE_COMMENT
96-
SMOKE_UPLOAD_FLAGS += -F comments="$(SMOKE_COMMENT)"
97-
endif
98-
ifdef SMOKE_TAGS
99-
SMOKE_UPLOAD_FLAGS += -F tags="$(SMOKE_TAGS)"
100-
endif
101-
102-
smoke_report: smoke
103-
curl \
104-
-H "Expect: " \
105-
-F project=Git \
106-
-F architecture="$(uname_M)" \
107-
-F platform="$(uname_S)" \
108-
-F revision="$(GIT_VERSION)" \
109-
-F report_file=@test-results/git-smoke.tar.gz \
110-
$(SMOKE_UPLOAD_FLAGS) \
111-
http://smoke.git.nix.is/app/projects/process_add_report/1 \
112-
| grep -v ^Redirecting
113-
114-
.PHONY: pre-clean $(T) aggregate-results clean valgrind smoke smoke_report
76+
.PHONY: pre-clean $(T) aggregate-results clean valgrind

t/README

Lines changed: 0 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -671,76 +671,3 @@ Then, at the top-level:
671671
That'll generate a detailed cover report in the "cover_db_html"
672672
directory, which you can then copy to a webserver, or inspect locally
673673
in a browser.
674-
675-
Smoke testing
676-
-------------
677-
678-
The Git test suite has support for smoke testing. Smoke testing is
679-
when you submit the results of a test run to a central server for
680-
analysis and aggregation.
681-
682-
Running a smoke tester is an easy and valuable way of contributing to
683-
Git development, particularly if you have access to an uncommon OS on
684-
obscure hardware.
685-
686-
After building Git you can generate a smoke report like this in the
687-
"t" directory:
688-
689-
make clean smoke
690-
691-
You can also pass arguments via the environment. This should make it
692-
faster:
693-
694-
GIT_TEST_OPTS='--root=/dev/shm' TEST_JOBS=10 make clean smoke
695-
696-
The "smoke" target will run the Git test suite with Perl's
697-
"TAP::Harness" module, and package up the results in a .tar.gz archive
698-
with "TAP::Harness::Archive". The former is included with Perl v5.10.1
699-
or later, but you'll need to install the latter from the CPAN. See the
700-
"Test coverage" section above for how you might do that.
701-
702-
Once the "smoke" target finishes you'll see a message like this:
703-
704-
TAP Archive created at <path to git>/t/test-results/git-smoke.tar.gz
705-
706-
To upload the smoke report you need to have curl(1) installed, then
707-
do:
708-
709-
make smoke_report
710-
711-
To upload the report anonymously. Hopefully that'll return something
712-
like "Reported #7 added.".
713-
714-
If you're going to be uploading reports frequently please request a
715-
user account by E-Mailing [email protected]. Once you have a username
716-
and password you'll be able to do:
717-
718-
SMOKE_USERNAME=<username> SMOKE_PASSWORD=<password> make smoke_report
719-
720-
You can also add an additional comment to attach to the report, and/or
721-
a comma separated list of tags:
722-
723-
SMOKE_USERNAME=<username> SMOKE_PASSWORD=<password> \
724-
SMOKE_COMMENT=<comment> SMOKE_TAGS=<tags> \
725-
make smoke_report
726-
727-
Once the report is uploaded it'll be made available at
728-
http://smoke.git.nix.is, here's an overview of Recent Smoke Reports
729-
for Git:
730-
731-
http://smoke.git.nix.is/app/projects/smoke_reports/1
732-
733-
The reports will also be mirrored to GitHub every few hours:
734-
735-
http://github.com/gitsmoke/smoke-reports
736-
737-
The Smolder SQLite database is also mirrored and made available for
738-
download:
739-
740-
http://github.com/gitsmoke/smoke-database
741-
742-
Note that the database includes hashed (with crypt()) user passwords
743-
and E-Mail addresses. Don't use a valuable password for the smoke
744-
service if you have an account, or an E-Mail address you don't want to
745-
be publicly known. The user accounts are just meant to be convenient
746-
labels, they're not meant to be secure.

t/harness

Lines changed: 0 additions & 21 deletions
This file was deleted.

t/t4150-am.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ test_expect_success setup '
136136
git format-patch -M --stdout lorem^ >rename-add.patch &&
137137
138138
# reset time
139-
unset test_tick &&
139+
sane_unset test_tick &&
140140
test_tick
141141
'
142142

t/t5560-http-backend-noserver.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ run_backend() {
1717
GET() {
1818
REQUEST_METHOD="GET" && export REQUEST_METHOD &&
1919
run_backend "/repo.git/$1" &&
20-
unset REQUEST_METHOD &&
20+
sane_unset REQUEST_METHOD &&
2121
if ! grep "Status" act.out >act
2222
then
2323
printf "Status: 200 OK\r\n" >act
@@ -30,8 +30,8 @@ POST() {
3030
REQUEST_METHOD="POST" && export REQUEST_METHOD &&
3131
CONTENT_TYPE="application/x-$1-request" && export CONTENT_TYPE &&
3232
run_backend "/repo.git/$1" "$2" &&
33-
unset REQUEST_METHOD &&
34-
unset CONTENT_TYPE &&
33+
sane_unset REQUEST_METHOD &&
34+
sane_unset CONTENT_TYPE &&
3535
if ! grep "Status" act.out >act
3636
then
3737
printf "Status: 200 OK\r\n" >act

t/t6032-merge-large-rename.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ test_expect_success 'setup large simple rename' '
9595
'
9696

9797
test_expect_success 'massive simple rename does not spam added files' '
98-
unset GIT_MERGE_VERBOSITY &&
98+
sane_unset GIT_MERGE_VERBOSITY &&
9999
git merge --no-stat simple-rename | grep -v Removing >output &&
100100
test 5 -gt "$(wc -l < output)"
101101
'

t/t9130-git-svn-authors-file.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ test_expect_success 'fresh clone with svn.authors-file in config' '
9696
rm -r "$GIT_DIR" &&
9797
test x = x"$(git config svn.authorsfile)" &&
9898
test_config="$HOME"/.gitconfig &&
99-
unset GIT_DIR &&
100-
unset GIT_CONFIG &&
99+
sane_unset GIT_DIR &&
100+
sane_unset GIT_CONFIG &&
101101
git config --global \
102102
svn.authorsfile "$HOME"/svn-authors &&
103103
test x"$HOME"/svn-authors = x"$(git config svn.authorsfile)" &&

0 commit comments

Comments
 (0)