Commits


regress: provide a sed wrapper In order to portably handle the difference in how 'sed -i' works between *BSD and Linux, provide a wrapper to invoke the underying system sed(1) based on which OSTYPE is in use.


regress: use gdate/gln if on *BSD To minimise the amount of churn between the difference in date(1) and ln(n) semantics, use gdate and gln from coreutils.


explicitly set the default branch name after 'git init' in regress tests We need to do this because newer versions of Git support an arbitrary default branch name which can be set by users. We don't want tests to fail when this option is used. pointed out by Thomas Adam


make 'got send' regression tests run 'git fsck' on all involved repositories


ensure that old commits remain referenced after rebase and histedit Create automatic "backup" references which ensure that objects from the pre-rebase or pre-histedit state remain in the repository. A new -l option for 'got rebase' and 'got histedit' lists old commits. This makes it easier to recover from botched rebase or histedit operations. Removal of such objects currently requires got ref -d and git-gc. This will be made more convenient in the future. testing and ok jrick


use POSIX [s1 = s2] syntax instead of [s1 == s2]; patch by Ryo ONODERA


rewrite argument parsing with the POSIX getopts shell built-in ok stsp


missed one case while changing $() to `` (found by rczlonka)


add quotes around $GOT_TEST_ROOT and avoid mktemp -p; suggested by naddy


allow regress test data to be stored in locations other than /tmp


replace ksh syntax with POSIX arithmetic expressions ok kn stsp


switch function declarations from Korn shell to Bourne/POSIX shell syntax ok stsp


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


add symlink support to 'got import'


add submodule tests ok semarie


add a test for rebase file index corruption problem fix in previous commit ok tracey


add tests for 'got clone' and 'got fetch'; requires 'ssh 127.0.0.1' to work


add a test for bug fixed in a0975128


add copyright year for files already touched in 2020


make it possible to run regress tests with packed repositories


initial implementation of 'got tag' command


initial 'got cat' implementation


attribute commits created with git(1) in test suite to Flan Hacker


make 'got blame' show dates at which lines were last modified


make 'got blame' show committer names