regress/cmdline/commit.sh


Log

Author Commit Date CI Message
Christian Weisgerber c8c7d149 2020-09-17T18:59:48 expand arguments in shell script since brace expansion is not in POSIX ok stsp
Christian Weisgerber f6cae3ed 2020-09-13T14:05:17 switch function declarations from Korn shell to Bourne/POSIX shell syntax ok stsp
Stefan Sperling 50b0790e 2020-09-11T17:04:57 add per-worktree got.conf(5) file in the .got directory; ok millert
Stefan Sperling 257add31 2020-09-09T23:57:40 add got.conf(5) configuration file ok tracey
Stefan Sperling 7fb414ae 2020-08-08T07:34:47 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
Stefan Sperling f2b0a8b0 2020-07-31T12:54:34 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.
Stefan Sperling 75f0a0fb 2020-07-23T14:22:39 stop reinstalling symlinks after commit; 'got update' can handle that
Stefan Sperling 35213c7c 2020-07-23T14:22:39 forbid bad symlinks; add -S option to 'got commit' and 'got stage' to allow them
Stefan Sperling 88fb31d4 2020-07-23T14:22:33 extend test_commit_symlink test case
Stefan Sperling 5a1fbc73 2020-07-23T14:21:30 make it possible to fix "bad" symlinks with ln -sfh + got commit + got update
Stefan Sperling 75c30427 2020-07-23T14:21:30 remove debugging test code
Stefan Sperling bd6aa359 2020-07-23T14:21:30 convert bad symlinks to regular files during 'got commit'
Stefan Sperling 3d9a4ec4 2020-07-23T14:21:30 add symlink support to 'got commit'
Stefan Sperling 74ad335c 2020-06-23T19:17:36 fix unintended change of current working directory in a test case
Stefan Sperling 7aadece8 2020-05-17T08:23:19 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)
Stefan Sperling e7303626 2020-05-14T19:27:44 add submodule tests ok semarie
Stefan Sperling 9627c110 2020-04-18T18:40:01 show a summary of conflicts and related problems after updating/merging files ok millert@
Stefan Sperling cb35d58a 2020-04-14T11:46:43 assign 'ret' explicitly in test_commit_normalizes_filemodes
Stefan Sperling f7b97ccb 2020-04-14T11:37:39 normalize tree entry modes to 0100644 or 0100755 when writing tree objects semarie@ reported an error from go-git used by Cirrus CI: "57243613255d758e15b0f5ae1c960b970f0435f8: malformed mode (0100640)!" 'git fsck' has no problem with mode 0100640. But writing just the two most commonly used file modes should provide the best compatibility.
Stefan Sperling ba580f68 2020-03-22T15:08:33 prevent 'got commit' from comitting empty sub-directories; found by tracey
Stefan Sperling e31abbf2 2020-03-22T14:21:06 add -c option to 'got ref' which now expects just one argument after options
Stefan Sperling 1ebedb77 2019-10-19T11:06:55 teach 'got commit' to tweak the executable bit of a file
Stefan Sperling aba9c984 2019-09-08T17:14:34 obtain repo format version and commit author name/email from .git/config
Stefan Sperling 6af1ccbd 2019-08-16T13:16:50 sort tree object entries the way git likes it
Stefan Sperling 84792843 2019-08-09T12:31:18 attempt to reject GOT_AUTHOR values without an email address
Stefan Sperling f0b75401 2019-08-03T22:55:36 fix out-of-date check regression; only commit staged files after 'got stage'
Stefan Sperling 916f288c 2019-07-30T11:30:20 prevent 'got commit' on branches outside "refs/heads/" (the only exception is the work tree's temporary histedit branch)
Stefan Sperling 5c1e53bc 2019-07-28T11:34:22 add support for multiple path arguments to 'got commit'
Stefan Sperling 90e8619e 2019-07-25T19:42:29 make 'got commit' work with a directory path
Stefan Sperling e0233cea 2019-07-25T13:04:23 fix 'got commit' from work tree with a path prefix
Stefan Sperling 2b496619 2019-07-10T22:41:08 fix bug exposed by test_commit_added_and_modified_in_same_dir
Stefan Sperling 4866d084 2019-07-10T22:17:20 add an xfail test for a bug in 'got commit'
Stefan Sperling 461aee03 2019-06-29T23:26:06 fix test sandbox name
Stefan Sperling 1a36436d 2019-06-10T11:58:32 relax out-of-dateness check for 'got commit'
Stefan Sperling a7648d7a 2019-06-02T21:35:20 consistently use leading upper-case for messages indicating success
Stefan Sperling f363d663 2019-05-23T10:25:19 add a test for 'got commit' with a conflicted file
Stefan Sperling a3df2849 2019-05-20T16:02:16 fix bug reproduced by xfail test 'test_commit_added_subdirs'
Stefan Sperling 8d301dd9 2019-05-14T11:35:15 use cmp -s, instead of cmp, in all command line tests
Stefan Sperling 3eada727 2019-05-14T11:33:09 cosmetic tweak to xfail test output
Stefan Sperling 8ba6ba2d 2019-05-14T11:31:57 add new test test_commit_added_subdirs (xfail)
Stefan Sperling 83a7ae6d 2019-05-10T18:38:59 revert previous
Stefan Sperling 3ffe981f 2019-05-10T18:38:23 fix tree_entry_dup error path
Stefan Sperling c3754a5b 2019-05-10T17:30:26 make GOT_AUTHOR available to all cmdline tests
Stefan Sperling 819f385b 2019-05-10T11:16:09 ensure that commits use intended base blobs for changes
Stefan Sperling 5bbcb68b 2019-05-09T15:47:46 add another commit test
Stefan Sperling bc70eb79 2019-05-09T15:45:21 fix bug in concurrent commit check and add another commit test
Stefan Sperling afa376bf 2019-05-08T19:18:45 report commit item status
Stefan Sperling 35bd8fed 2019-05-09T14:57:06 require GOT_AUTHOR environment variable
Stefan Sperling 135819da 2019-05-09T13:47:18 don't create unrelated files in basic commit test
Stefan Sperling baa7dcfa 2019-05-08T20:00:37 don't visit added subtrees reundantly
Stefan Sperling 036813ee 2019-05-08T12:17:01 more progress on commits: write trees recursively
Stefan Sperling c4296144 2019-05-07T10:17:36 WIP commit implementation