Skip to content

Commit cdc3466

Browse files
committed
Merge branch 'maint'
* maint: Update draft release notes to 1.7.4.2 Work around broken ln on solaris as used in t8006 t/README: Add a note about running commands under valgrind
2 parents a91df69 + d98f24c commit cdc3466

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

Documentation/RelNotes/1.7.4.2.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ Fixes since v1.7.4.1
77
* Many documentation updates to match "git cmd -h" output and the
88
git-cmd manual page.
99

10+
* We used to keep one file descriptor open for each and every packfile
11+
that we have a mmap window on it (read: "in use"), even when for very
12+
tiny packfiles. We now close the file descriptor early when the entire
13+
packfile fits inside one mmap window.
14+
1015
* "git clone /no/such/path" did not fail correctly.
1116

1217
* "git commit" did not correctly error out when the user asked to use a
@@ -34,6 +39,10 @@ Fixes since v1.7.4.1
3439
to update the upstream branch it forked from is now called "upstream".
3540
The old name "tracking" is and will be supported.
3641

42+
* "git submodule update" used to honor the --merge/--rebase option (or
43+
corresponding configuration variables) even for a newly cloned
44+
subproject, which made no sense (so/submodule-no-update-first-time).
45+
3746
* gitweb's "highlight" interface mishandled tabs.
3847

3948
* gitweb had a few forward-incompatible syntactic constructs and

t/README

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,13 @@ appropriately before running "make".
102102
not see any output, this option implies --verbose. For
103103
convenience, it also implies --tee.
104104

105+
Note that valgrind is run with the option --leak-check=no,
106+
as the git process is short-lived and some errors are not
107+
interesting. In order to run a single command under the same
108+
conditions manually, you should set GIT_VALGRIND to point to
109+
the 't/valgrind/' directory and use the commands under
110+
't/valgrind/bin/'.
111+
105112
--tee::
106113
In addition to printing the test output to the terminal,
107114
write it to files named 't/test-results/$TEST_NAME.out'.

t/t8006-blame-textconv.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ test_expect_success 'setup ' '
2525
echo "bin: test 1 version 2" >one.bin &&
2626
echo "bin: test number 2 version 2" >>two.bin &&
2727
if test_have_prereq SYMLINKS; then
28-
ln -sf two.bin symlink.bin
28+
rm symlink.bin &&
29+
ln -s two.bin symlink.bin
2930
fi &&
3031
GIT_AUTHOR_NAME=Number2 git commit -a -m Second --date="2010-01-01 20:00:00"
3132
'

0 commit comments

Comments
 (0)