Commits


CHANGES for 0.64


regress: make merge.sh more POSIXy Don't use '==' for equality matching in sh, as this won't work across all shells. ok @naddy


regress: make test operands POSIX compliant Since the interpreter for the regress shell scripts are using /bin/sh this will usually imply some level of POSIX compliance (that isn't bash-specific, for instance). Some systems use dash as their sh shell and as such is stricter POSIX compliance. To help -portable, make the shell test checks use a single '=' for equality, rather than '=='.


sync dist file list


switch tog ref view's sort order command key to "o" instead of "s" The letter "o" does not overlap with existing options of 'got ref' and is also used by mutt(1) for this purpose.


add got branch -t option to sort listed branches by modification time


fall back to comparison by name when refs have the same timestamp This fixes an issue where some references were missing from lists of references sorted by timestamp.


add got ref -t option to sort listed references by modification time


make tog use got_reflist_sort() instead of reloading refs while sorting them


implement got_reflist_sort() which sorts a ref list in-place


fix uninitialized error from got_ref_cmp_by_commit_timestamp_descending()


allow sorting references by timestamp in tog


preverse binary files during updates and merges


let gotadmin find the repository automatically if invoked in a work tree Move a small amount of code from worktree.c to a new file worktree_open.c, which contains everything required to open and close a work tree and inspect some of its basic parameters. This can be used by gotadmin. ok tracey


gotweb does not actually use anything from worktree.c or fileindex.c