Commits


CHANGES for 0.65


sync files from diff.git b72f51ffc39028023059fc994542565691b669fa This fixes a scrolling problem in tog's diff view for diffs which contain lines of the form "Binary files %s and %s differ".


print status output even if 'gotadmin cleanup' finds no objects to remove


fix amount of purged objects shown in gotadmin cleanup's final progress report


sync dist file list


use time-based rate-limiting for gotadmin progress output Suggested by naddy some time ago. ok tracey


avoid the creation of new temporary files whenever a packed object is read This speeds up the creation of pack files by about 30%.


fix bogus "object not found" errors when object ID begins with 00 ok thomas_adam


simpler fix equivalent to the previous commit


make test_cherrypick_root_commit pass with GOT_TEST_PACK=1


'got stage' tests rely on unreferenced loose objects; disable GOT_TEST_PACK=1


remove loose objects if running tests with GOT_TEST_PACK


use 'gotadmin pack' instead of 'git repack' if testing with GOT_TEST_PACK


wrap overlong lines


add O_CLOEXEC (close-on-exec) to openat(2) calls suggested by millert ok thomas_adam


add O_CLOEXEC (close-on-exec) flag to open(2) calls suggested by millert ok thomas_adam


add "e" (close-on-exec) flag to fopen(3) calls suggested by millert ok thomas_adam


remove outdated comment


tog: clear search highlighting when reloading view Clear the search highlighting when replacing the content of a diff view ('<', '>', '[', ']', 'a', 'w') or a blame view ('b', 'p', 'B'). Previously the position would remain highlighted even if the text there had changed. ok stsp@ or a blame view


whitespace


fix NULL dereference in 'got clone' if server sends an empty pack file


sort paths in got log -Pp and tog's diff view the same way as in the diff reported by and fix confirmed by naddy


make tog searches start from the current position in all views ok naddy@


ignore the return value of closefrom(2); patch by Anna a.k.a. CyberTailor millert@ suggests that this check is not needed, and that ideally we should be using close-on-exec instead. I will look into this, but in the meantime this change will help -portable: https://bugs.gentoo.org/828003


let new 'tog log' searches start out from the currently selected commit ok naddy tracey