Commits
Commit:
08d508671c852e8968d71eba2642ee1934469425 (main)
Author:
Stefan Sperling <stsp@stsp.name>
Committer:
Stefan Sperling <stsp@stsp.name>
Date:
Tue Mar 22 13:51:13 2022 UTC
bump version number
Commit:
ce15c8e29e35a98ac91a70a914f3f16550c26a9b (tags/0.68)
Author:
Stefan Sperling <stsp@stsp.name>
Committer:
Stefan Sperling <stsp@stsp.name>
Date:
Tue Mar 22 13:43:21 2022 UTC
CHANGES for 0.68
Commit:
e260f8ae2c54344af5cd0213dc0aafe6e2ff8721
Author:
Stefan Sperling <stsp@stsp.name>
Committer:
Stefan Sperling <stsp@stsp.name>
Date:
Tue Mar 22 11:55:38 2022 UTC
fgetc() returns int, not char; fixes -Werror build on armv7
Commit:
f2e1007bc5564a15098b5ccd4172d0e528655b16
Author:
Stefan Sperling <stsp@stsp.name>
Committer:
Stefan Sperling <stsp@stsp.name>
Date:
Tue Mar 22 11:32:07 2022 UTC
sync dist file list
Commit:
1a4ff8fae8e8ee6133ebc8ac392e7df426981918
Author:
Stefan Sperling <stsp@stsp.name>
Committer:
Stefan Sperling <stsp@stsp.name>
Date:
Tue Mar 22 11:28:47 2022 UTC
fix free() on uninitialized variable upon error in gw_output_file_blame() ok op@
Commit:
1a7a534e1938546579b58c933c11eb8ae9ef8429
Author:
Stefan Sperling <stsp@stsp.name>
Committer:
Stefan Sperling <stsp@stsp.name>
Date:
Tue Mar 22 11:22:12 2022 UTC
tweak wording to make it clearer where the mentioned -u option applies
Commit:
b3c57ab2fb7857f055b840d29c425370effc8f9c
Author:
Omar Polo <op@omarpolo.com>
Committer:
Omar Polo <op@omarpolo.com>
Date:
Tue Mar 22 11:20:46 2022 UTC
got patch: handle "\ No newline at end of file"
Commit:
4027dbc25c21bad271f5406e382054c6095523bc
Author:
Omar Polo <op@omarpolo.com>
Committer:
Omar Polo <op@omarpolo.com>
Date:
Tue Mar 22 11:20:46 2022 UTC
reuse apply_hunk in patch_file when creating a file
Commit:
3b01d641c14e67930d70d9cc5fb8b06d0f782033
Author:
Stefan Sperling <stsp@stsp.name>
Committer:
Stefan Sperling <stsp@stsp.name>
Date:
Tue Mar 22 11:19:46 2022 UTC
mention that 'got patch' is compatible with 'cvs diff -u' output
Commit:
3f3a6472f94a10862046605b5a11129a4f97c33a
Author:
Stefan Sperling <stsp@stsp.name>
Committer:
Stefan Sperling <stsp@stsp.name>
Date:
Tue Mar 22 11:17:41 2022 UTC
mention that 'got patch' can read diffs produced by Git, to avoid any doubt
Commit:
6863cbf96527f4b60a3fec65aa04808cbdc0b39e
Author:
Stefan Sperling <stsp@stsp.name>
Committer:
Stefan Sperling <stsp@stsp.name>
Date:
Mon Mar 21 19:59:03 2022 UTC
fix pack progress object counter for loose objects Move pack progres object accounting to a single place. This makes it easier to account for the case were only loose objects are packed. A wrong amount of objects was reported before when packing loose ones.
Commit:
c4e796b22e894d9f1b17844f6b2f05acadf519aa
Author:
Stefan Sperling <stsp@stsp.name>
Committer:
Stefan Sperling <stsp@stsp.name>
Date:
Mon Mar 21 16:08:41 2022 UTC
in pack progress output, remove excluded objects from 'found' objects counter
Commit:
cdeb891a2479c24d74198d39285be4c75c366c3f
Author:
Stefan Sperling <stsp@stsp.name>
Committer:
Stefan Sperling <stsp@stsp.name>
Date:
Mon Mar 21 15:52:15 2022 UTC
fix a bug where 'gotadmin pack' packed too many objects unless -a was used
Commit:
e38d4cdede4142c7bae75cc884f5ce57dad297af
Author:
Christian Weisgerber <naddy@mips.inka.de>
Committer:
Christian Weisgerber <naddy@mips.inka.de>
Date:
Mon Mar 21 13:14:13 2022 UTC
subordinate clauses preceding the main clause are offset by a comma
Commit:
0ae61b79f6344b7913b8daf346b41b4e3fe8211a
Author:
Stefan Sperling <stsp@stsp.name>
Committer:
Stefan Sperling <stsp@stsp.name>
Date:
Mon Mar 21 10:17:40 2022 UTC
fix potential NULL deref in error path of got_object_idset_remove()
Commit:
7a30b5cb05817b97fcb91183049b629a948e3ba6
Author:
Omar Polo <op@omarpolo.com>
Committer:
Omar Polo <op@omarpolo.com>
Date:
Sun Mar 20 08:54:45 2022 UTC
got patch: prefer new name if not /dev/null and not a git-style diff This fixes a common issue when for e.g. generating patches with $ diff -u foo.orig foo where 'got patch' failed because 'foo.orig' has an 'unexpected status'. prodded by naddy, ok stsp
Commit:
f134ecfdc329a401e2e93407cce94733515f16fb
Author:
Christian Weisgerber <naddy@mips.inka.de>
Committer:
Christian Weisgerber <naddy@mips.inka.de>
Date:
Sat Mar 19 21:25:59 2022 UTC
const-ify string table
Commit:
78f5ac2436c8d17d1dd687d69e51354707275988
Author:
Omar Polo <op@omarpolo.com>
Committer:
Omar Polo <op@omarpolo.com>
Date:
Sat Mar 19 15:06:37 2022 UTC
move got_patch file status checking in worktree.c check_file_status used got_worktree_status to check if the file was in an allowed state, but it's wrong since the callback is not invoked on unchanged files. While here also fix a relate bug: unlink(newpath) is in the wrong spot and ends up removing files even when it shouldn't, so move it early in the got_worktree_schedule_* error handling. Finally, update the appropriate test case. It was passing before because got_worktree_schedule_add returned GOT_ERR_FILE_STATUS, not because check_file_status failed. ok stsp@
Commit:
bfc73a473bd3dbde973c26a5580d74441b7edfb6
Author:
Christian Weisgerber <naddy@mips.inka.de>
Committer:
Christian Weisgerber <naddy@mips.inka.de>
Date:
Sat Mar 19 14:53:07 2022 UTC
explicitly include for close(2)
Commit:
70cc983209a406b57dc37c4515e1cb9a038e0f2c
Author:
Christian Weisgerber <naddy@mips.inka.de>
Committer:
Christian Weisgerber <naddy@mips.inka.de>
Date:
Sat Mar 19 14:19:19 2022 UTC
move got_errors[] table into a single compilation unit (error.c) ok stsp
Commit:
39d5d1d2ed506dd6463430eb1311f4d96a66e6ae
Author:
Tracey Emery <tracey@traceyemery.net>
Committer:
Tracey Emery <tracey@traceyemery.net>
Date:
Thu Mar 17 20:20:08 2022 UTC
rm unused vars
Commit:
d58ddaf3fc10239711ae7a88664e3a100567ba3c
Author:
Christian Weisgerber <naddy@mips.inka.de>
Committer:
Christian Weisgerber <naddy@mips.inka.de>
Date:
Thu Mar 17 20:02:40 2022 UTC
const-ify tables ok thomas_adam millert
Commit:
46ebad135d9dc52eb84d6985393298465fa7b3ff
Author:
Omar Polo <op@omarpolo.com>
Committer:
Omar Polo <op@omarpolo.com>
Date:
Thu Mar 17 16:38:43 2022 UTC
style
Commit:
60aa1fa0d1bdadc23596e5d614d184525b17935c
Author:
Omar Polo <op@omarpolo.com>
Committer:
Omar Polo <op@omarpolo.com>
Date:
Thu Mar 17 16:38:43 2022 UTC
augment patch progress callback with hunks info; recover from errors Augment got_patch_progress_cb by providing the hunks that were applied with offset (or that failed) and the recoverable error encountered during the operation (bad status, missing file, ...) got_patch now proceeds when a file fails to be patched and exits with GOT_ERR_PATCH_FAILED if no other errors are encountered. While here, also add a test for the 'hunk applied with offset' case and shrink test_patch_dont_apply and illegal_status by taking advantage that 'got patch' doesn't stop at the first error. (And add some other cases to illegal_status too.) discussed with and ok stsp@
Commit:
95d683408adee5188de396567e8e9746b703d7dd
Author:
Omar Polo <op@omarpolo.com>
Committer:
Omar Polo <op@omarpolo.com>
Date:
Wed Mar 16 18:23:03 2022 UTC
got patch: create missing directories when adding files ok stsp@
Omar Polo