Commit Briefs

c206b220ed Thomas Adam

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.


fa37079fce Thomas Adam

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.


dd6165e49c Thomas Adam

regress: fix test failures using ln(1)

GNU ln uses -T instead of -h for no-target-directory. OK thomas.adam


180f111d56 Thomas Adam

regress: fix test failures using date(1)

This patch fixes test failures related the date(1) utility. In the long term we could add a wrapper function to detect valid options for date(1) and use the variant which works on the current OS. For now, this makes some tests pass and shows us where the problems are. OK thomas.adam


4f3c844bea Stefan Sperling

make 'got update' display the worktree's branch name upon success

ok tracey



a966211500 Christian Weisgerber

add missing "return 1" to failure handling in the regress scripts

ok stsp@


8e09a16893 Tracey Emery

fix hang in commit regress test. ok stsp


28cf319f78 Stefan Sperling

add 'got commit -F' option to commit with a log message stored in a file

To avoid accidents commit -F opens the prepared log message in an editor so it can be reviewed before the commit is created. For non-interactive use the -N option is required in addition to -F. ok millert@



c8c7d149fe Christian Weisgerber

expand arguments in shell script since brace expansion is not in POSIX

ok stsp


f6cae3ed1e Christian Weisgerber

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

ok stsp



257add310e Stefan Sperling

add got.conf(5) configuration file

ok tracey


7fb414ae4d Stefan Sperling

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


f2b0a8b0a1 Stefan Sperling

fix committing file additions from a work tree with a path prefix

New files were added under the wrong tree in the repository if the work tree has a path prefix. Fix this problem and catch it in the existing commit_with_path_prefix regression test.




88fb31d4ff Stefan Sperling

extend test_commit_symlink test case



75c3042749 Stefan Sperling

remove debugging test code


bd6aa35905 Stefan Sperling

convert bad symlinks to regular files during 'got commit'


3d9a4ec407 Stefan Sperling

add symlink support to 'got commit'



7aadece8bf Stefan Sperling

allow creation of commits which carry unmodified submodule tree entries along

approach suggested by ori@ and matches how git9 behaves ok semarie@ (who can now work with Rust-related Git repos containing submodules)