Commits
- Commit:
885e96dfba200f362ddd1d9795740251bcb6e39b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
regress: replace "sed -i" with ed(1) for portable in-place editing
"sed -i" is fundamentally unportable. GNU and OpenBSD sed(1) treat
the extension for the backup file as an optional argument and use
"sed -i" for no backup file. FreeBSD sed(1) treats the extension
as an obligatory argument and uses "sed -i ''" for no backup file.
There is no single syntax that works for both.
ok stsp op
- Commit:
f1aec6edf3cf139d631d740ffc7f9428c913685c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix regression test failures with Git 3.30.5 / 2.38.1 or later installed
The fix for CVE-2022-39253 in Git made our regression tests fail since
creating submodules from local clones is no longer allowed by default.
Add an override to our invocations of "git submodule add", the same
which was added to Git's regression test suite as part of their fix.
This CVE doesn't otherwise affect us. We do not implement submodules.
Our use of them in regression tests exists only to ensure that Got does not
freak out when it sees one. Precisely because automated support for nested
repositories and/or working copies (as in Git Submodules, or Subversion
Externals, etc.) have been an endless source of security problems in
other systems.
sudden test failures pointed out by naddy@
- Commit:
5e91dae4dd43b8024731223110ab18f505f453ac
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
a19f439c4e07de5c812f1771b37cecbba6e631c4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't pass $ret to test_done on failure when it's known to be zero
Otherwise the test directory it's not left in place; ok tracey@
- Commit:
49c543a6fe888394ca86e6399c706a9965486134
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
use test(1) -eq and -ne to compare integers, and reduce quoting
This brings the rest of the regression test scripts in line with
patch.sh.
- Commit:
dc8256b60dd076b61c44c4cf547127149bb6b15c
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
"got blame" now shows UTC dates, adapt regression test; ok stsp
- Commit:
54c39596938ae6d19fe5eede072d36a3f61baa12
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use POSIX [s1 = s2] syntax instead of [s1 == s2]; patch by Ryo ONODERA
- Commit:
c27a5e6631524233c4a822aa306ab92c09f1d1ca
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
new blame algorithm which compares commit N-1 to N; with help from Neels
- Commit:
f6cae3ed1ef0c22150181eeebb8f9e97db99dc5a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch function declarations from Korn shell to Bourne/POSIX shell syntax
ok stsp
- Commit:
7fb414ae4d46ebdaeff458477ba801f9ad5853c4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a -q option to tests for quiet output and use it for 'make regress'
Previous default output remains when test cases are run individually.
ok tracey
- Commit:
eb59b6d4903198c69021bb80110c5dea0f7a7bc2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show path in error message when blaming a symlink pointing to a directory
- Commit:
0587e10c4c4e054f8aeda2bd499b76c0ec60dc40
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add symlink support to 'got blame' and 'tog blame'
- Commit:
e7303626967ed721dd323a8a6ea6c638aed46c50
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add submodule tests
ok semarie
- Commit:
db32465dae89b65a67ccba625a37217bb5354f15
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a test for bug fixed in a0975128
- Commit:
6db9f7f6b17d77932489a53452856224c8ca1645
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
always show numeric dates in ISO-8601/xkcd-1179 format
ok millert tracey sthen
- Commit:
11db6024f7d98487225cb67a501c6b6ba06fc816
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show commit date's century in 'got blame' output (patch by Tracey Emery)
tests adjusted by me
- Commit:
4c9641fdb639da1d7ad1bde82b3010e5ac1e096f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix and simplify blame algorithm
Always diff against latest version of file. This is much easier
since there is no need to keep track of lines shifting around.
- Commit:
16357e96dcfbf9a5d2b1ab2347c04b25a17c4993
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add another xfail blame test case
- Commit:
b24db1c106cc7d53cf2931a1d0898b95d1d058ed
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
test suite: cross-check got blame results with git blame
- Commit:
548237bca5af8d72f355b42d06bafc910b13cb06
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix blame bug where lines got annotated with wrong commit
- Commit:
8d725ae11ecc53e7d7f7bc3b576f7e949d08b980
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make blame go through first parent history; add more blame test cases
- Commit:
bcb49d15e041ddffb59397d2fe851fdb1729b005
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got blame' show dates at which lines were last modified
- Commit:
82f6abb8b1a22fe62d2a8a8d0cdbb73c9d85fcda
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got blame' show committer names
- Commit:
7ef28ff8dd61cbf38f88784ea8c11e373757985f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got blame' show line numbers
- Commit:
78695fb724a1e3e628efb42140d48dbd88d562b3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix blame with single-commit history and with files without \n