Commits
- Commit:
2fed5287a0b2737115e6d0dcad77a6b371206cb1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
regress: use seq instead of jot
This is just for -portable since jot is not always available.
ok stsp@
- Commit:
f73bf5bd9e54af999a744c731dfb492e1c9b2b6d
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
replace "(cd path && git cmd)" with "git -C path cmd"
This matches the existing use of "got -r path cmd" and
"git_commit path args".
- Commit:
ea4ee74a619549cdfbbf7f824599834f31b72838
- From:
- James Cook <falsifian@falsifian.org>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
regress/cmdline: fix handling of unexpected success
Diff from James Cook, thanks!
- 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:
f55db25a40103e9990a713a4f61d37686d786194
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
regress: replace unportable ln -h option with rm && ln
ok stsp
- Commit:
8469d82143a591d423c000c47c63bababe6f5716
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
always show commit or tree IDs in diff header, in order to help 'got patch'
The idea is that got patch can simply look for a line such as:
commit - abcde1234567...
to find the merge base commit ID to show in diff3 conflict markers.
got log -p now displays commit IDs in its diff header, instead ofl
tree or blob IDs.
ok op@
- Commit:
9fdde394b8229cc24073709050d2ef7a1443b0a9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got stage: implicitly unstage when staging the reverse of the staged diff
otherwise we end up with a staged empty edit for that file.
ok stsp@
- 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:
c861864b0f994d1b88835777932ecf8fdd78bd91
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
'got stage' tests rely on unreferenced loose objects; disable GOT_TEST_PACK=1
- Commit:
4f3c844beaeb6a0b30565833e0481b8de9a5106e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got update' display the worktree's branch name upon success
ok tracey
- Commit:
54c39596938ae6d19fe5eede072d36a3f61baa12
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use POSIX [s1 = s2] syntax instead of [s1 == s2]; patch by Ryo ONODERA
- Commit:
fe621944e83fe6367f7bff97128b4240a9cdc7c5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
merge new diff implementation from the git.gameoftrees.org diff.git repository
This new diff implementation was started by Neels Hofmeyr during the u2k20
hackathon and now replaces diffreg.c code lifted from the OpenBSD base system.
The integration of this code into Got was done by me.
Got now uses the patience diff algorithm by default.
The diff.git repository will remain the primary repository for the diff code,
which already compiles and runs on other operating systems such as Linux.
Any fixes and improvements for files inherited from the diff.git repository
should be written against that repository and synced to got.git afterwards.
- 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:
75f0a0fb346fb0ad381536024728164cd32d2a7e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop reinstalling symlinks after commit; 'got update' can handle that
- Commit:
35213c7c838a48142d398147b54bb9938af8cab0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
forbid bad symlinks; add -S option to 'got commit' and 'got stage' to allow them
- Commit:
fa3cef63799016195e8a917f39c82815522692aa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got stage -p' work with symlinks
- Commit:
0aeb8099a04ea427eff4a7b6cb52b1cba62a87b0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
set a staged file type and handle it separately from the on-disk file type
- Commit:
c631b1152565e4c18cb2123e1d3d7c08d513c02f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make staging of symlinks work
- Commit:
9627c110bee81b5d7368441eaf4e661010ba9cd5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show a summary of conflicts and related problems after updating/merging files
ok millert@
- Commit:
7b5dc508da734468a2a01112b45b7999b55123ce
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix staging of multiple files with -p
ok semarie
- Commit:
46f68b205b4ab514846c5352c6d952720b9da365
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show file mode differences when diffing trees
- Commit:
72fd46fa56e8a73262ff8901b7c93554b7bad3e6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix modified files not shown by 'got status' after committing staged changes
- Commit:
2a06fe5f59f1b7b42f63bd9afe5187935c341321
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
indicate non-existent paths in 'got status' and make 'got diff' error for them