Commits


CHANGES for 0.48


close file handles before freeing other things in got_worktree_close() The work tree's path needs to be valid while constructing error messages.


fix missing close(2) error check in got_worktree_close()


make close(2) failure checks consistent; check 'close() == -1' everywhere ok millert, naddy


make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere ok millert, naddy


add missing braces around multi-line if-statement in got_worktree_close()


fix a use after free() ok jrick stsp


let 'got clone' write gitconfig directives that match the generated got.conf


fix 'tog blame' segfault upon empty input file; reported by + ok naddy


expand coverage of test_update_single_file: test file deletion during update


fix copy-pasta in test_update_single_file


fix bug where 'got up -c commit path' deleted unrelated files from work tree Problem reported by Timo Myyrä


add a 'reference' directive to remote repositories in got.conf(5) Make use of this in 'got clone' to persist -R option arguments given on the command line in the cloned repository's got.conf(5) file.


remove 'tog ref' todo item; pointed out by naddy


document that 'got clone -a' sets 'fetch-all-branches' in got.conf(5)