Commit Briefs


8279ab8c66 Thomas Adam

rename a variable for clarity


52d3950d94 Thomas Adam

clarify documentation of cherrypick/backout log message recording

ok jamsek


46f8743694 Thomas Adam

uppercase cherrypick/backout -X progress output

ok jamsek


eb5dc07888 Thomas Adam

improve heuristics for prepopulated log messages

Small tweak to cover the case where users specify paths to be committed such that none of the paths modified by a backout or cherrypick operation are in the commit. In this case, the logmsg ref will remain in refs/got/worktree to be used when the user does run a commit involving the affected paths. ok stsp@


bb723b7a6c Thomas Adam

fix invalid assumption in commit_path_changed_in_worktree()

Make sure we have a parent id first to avoid dereferencing a NULL pointer with the got_object_open_as_commit() call. ok op@ and stsp@


a9020babcc Thomas Adam

extend test_delete_branch

- try to delete using git - try to delete multiple branches in one go - verify the ref-list reported by the server before and after the deletion suggested / ok stsp


49563dfbdb Thomas Adam

gotd: implement the delete-refs capability

Allow clients to run "got send -d" against gotd. Clients will send a zero-id as new id for a reference and, in the special but more common case of just deleting and not updating, no pack file will be sent. ok and tweaks by stsp@


7c82d1d558 Thomas Adam

regress for new backout/cherrypick logmsg references

Tests only cover the -lX interface to list and delete logmsg refs created by previous backout and cherrypick operations. Further tests are needed for revert and commit coverage to ensure that the correct log messages of bo/cy commits are loaded into the editor when 'got commit' is run, and that only the refs used to populate the editor for the new commit are deleted. Potential printf issues observed by op remain in the diff; noted here as a reminder to do a sweep at some point in the future as there are other such instances in cherrypick.sh and possibly elsewhere in regress. Reviewed as part of previous commit introducing logmsg ref support for backed-out/cherrypicked commits. ok stsp@


f6cd024325 Thomas Adam

got: load editor with backout/cherrypick commit log messages

Create new logmsg references used to populate the editor with the log messages of backed-out and cherrypicked commits when 'got commit' is run. We use versioned path state heuristics during revert and commit commands in an effort to ensure the editor is only populated with the log messages of backed-out and/or cherrypicked commits involving paths with local changes that are being committed. This is an implementation of an initial idea and algorithm designed by stsp. inputs, improvments and ok stsp@



5cc15b7b03 Thomas Adam

add TODO item for a histedit -m bug I have run into


e17294f7d5 Thomas Adam

remove \n from log message


0df2f4da54 Thomas Adam

delete trailing whitespaces


822aa840f7 Thomas Adam

add another pre-commit check idea to the gotd TODO list


47f028303c Thomas Adam

avoid traversing enumerated commits more than once in got-read-pack

Keep track of parent commits that will be processed as part of looping over the commit queue provided by the main process, and do not add these commits to the queue again. Fixes pointless traversal of commits on the queue which will simply be skipped. The end result is the same either way. ok tracey


4088ab23bf Thomas Adam

fix missing commits in pack files created with packed object enumeration

got-read-pack forgot to send a tree-enumeration-done message to the main process if the tree of a given commit had already been traversed. The main process would then not add the corresponding commit to the pack file, even though it should be added. Found while using 'got send' towards gotd in order to populate an empty repository on the server with non-trivial history, where some commits always ended up missing due to this bug. ok tracey


d4becbee8b Thomas Adam

cmd_tag: avoid unnecessary strdup of signer_id

ok jrick


717bfe1fc5 Thomas Adam

portable: set next version


0c3124f53a Thomas Adam

portable: release 0.82 (tags/0.82)


3c075bf727 Thomas Adam

gotwebd.8: fix Xr typo http.conf -> httpd.conf


370cf40033 Thomas Adam

got merge: call the right usage_*() function

Diff from Mikhail, thanks!


33da44fec3 Thomas Adam

bump version number


b4dee23518 Thomas Adam

CHANGES for 0.82