Commits


sync distfile list


CHANGES for 0.45


test behaviour of histedit -f with an empty log message


add a basic test case for histedit -f


prevent log message loss of folded commits during histedit If the histedit log message editor exits without saving its buffer, Got threw away log messages of all commits which were folded. Only the last commit message is preserved, which could be something meaningless like "fixup". Instead, preserve the initial editor buffer content as-is. That is not going to be an ideal log message, but doesn't throw away information and stands out visually because the newly created log message will start with a comment like '# log message of folded commit a0ff...' Problem reported by jrick


histedit -f conflicts with -F option Also fixed as part of a different patch from jrick ok jrick


use a helper function to generate error messages for mutually exclusive options Inspired by a different patch from jrick ok jrick


remove redundant explanation of histedit -f and -m options from got.1


fix typo in got.1: "only if" -> "if only"; pointed out by tracey


document that histedit -f can only be used if starting a histedit operation


accommodate newer ncurses where panel_userptr() returns a const pointer ok stsp


use getline(3) instead of fparseln(3) in tog, for better portability ok millert


add histedit -f flag for folding shortcut "please push it" stsp


fix display of lines that end in "\r\n" in tog(1) Problem found and reported by jrick ok naddy


add fd field to got_worktree, modify got_fileindex_entry_update to use fds These changes are intended to make got more compatible with FreeBSD's Capsicum. ok stsp


sync files from diff.git b3fd1fa284e6207b923bd3c887364d9eb93fb340


fix expected output of test_tree_submodule_of_same_repo for packed repos


deep-copy reference names in the log and tree views to prevent use-after-free ok naddy


miscellaneous minor style issues


reload references when the log view is restarted with Ctrl-L


in tog.1, consistently mark up command names of views with .Cm


in tog.1, sync the synopsis of 'tog diff' to include all supported options


pass the thread_args struct to queue_commits() and trim the parameter list ok stsp


move the tree view's selection cursor up if the terminal shrinks too much ok naddy


move the ref view's selection cursor up if the terminal shrinks too much bug found by naddy ok naddy