author | Junio C Hamano <gitster@pobox.com> | |
Mon, 21 Mar 2011 05:14:47 +0000 (22:14 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 21 Mar 2011 05:14:47 +0000 (22:14 -0700) |
* 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
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
Documentation/RelNotes/1.7.4.2.txt | patch | blob | history | |
t/README | patch | blob | history | |
t/t8006-blame-textconv.sh | patch | blob | history |
index afb387161b6c14a2792e0164bf8ff32741764d0d..991dae4811d35b7be3c6e8f11dbb0b62c0420dd2 100644 (file)
* Many documentation updates to match "git cmd -h" output and the
git-cmd manual page.
+ * We used to keep one file descriptor open for each and every packfile
+ that we have a mmap window on it (read: "in use"), even when for very
+ tiny packfiles. We now close the file descriptor early when the entire
+ packfile fits inside one mmap window.
+
* "git clone /no/such/path" did not fail correctly.
* "git commit" did not correctly error out when the user asked to use a
to update the upstream branch it forked from is now called "upstream".
The old name "tracking" is and will be supported.
+ * "git submodule update" used to honor the --merge/--rebase option (or
+ corresponding configuration variables) even for a newly cloned
+ subproject, which made no sense (so/submodule-no-update-first-time).
+
* gitweb's "highlight" interface mishandled tabs.
* gitweb had a few forward-incompatible syntactic constructs and
diff --git a/t/README b/t/README
index 165e7cf34da32663a18f4c6a87dbe3087dac8263..ccf6a53377804153f7a516031d5bab4ef6da4016 100644 (file)
--- a/t/README
+++ b/t/README
not see any output, this option implies --verbose. For
convenience, it also implies --tee.
+ Note that valgrind is run with the option --leak-check=no,
+ as the git process is short-lived and some errors are not
+ interesting. In order to run a single command under the same
+ conditions manually, you should set GIT_VALGRIND to point to
+ the 't/valgrind/' directory and use the commands under
+ 't/valgrind/bin/'.
+
--tee::
In addition to printing the test output to the terminal,
write it to files named 't/test-results/$TEST_NAME.out'.
index ea64cd8d0f02a3a08dca7742a29331c85e7da384..32ec82ad678d56bbf27f525fc8588b3391d9117d 100755 (executable)
echo "bin: test 1 version 2" >one.bin &&
echo "bin: test number 2 version 2" >>two.bin &&
if test_have_prereq SYMLINKS; then
- ln -sf two.bin symlink.bin
+ rm symlink.bin &&
+ ln -s two.bin symlink.bin
fi &&
GIT_AUTHOR_NAME=Number2 git commit -a -m Second --date="2010-01-01 20:00:00"
'