Commit Briefs

Stefan Sperling

add got_error_fmt()

got_error_fmt() could eventually replace got_error_path() which has already been used to construct errors with strings that are not actually paths... ok millert@


Stefan Sperling

add got_error_from_errno_fmt() for more flexibility in error messages

suggested by and ok millert


Christian Weisgerber

replace unprintable characters with '.' before passing them to curses

Otherwise, ncurses will replace them with some printable representation whose width we can't predict, and wunctrl() fails to return the replacement for 0x80..0x9f. ok stsp


Christian Weisgerber

reset tog blame view's scroll position if line count shrinks too much

ok stsp


Stefan Sperling

bump version number


Stefan Sperling

sync distfile list (tags/0.45)


Stefan Sperling

CHANGES for 0.45



Stefan Sperling

add a basic test case for histedit -f


Stefan Sperling

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


Stefan Sperling

histedit -f conflicts with -F option

Also fixed as part of a different patch from jrick ok jrick


Stefan Sperling

use a helper function to generate error messages for mutually exclusive options

Inspired by a different patch from jrick ok jrick