Commits


automake: Fix path to libexec directory The got_lib_privsep.h header expects the path to the libexec directory to be called GOT_LIBEXECDIR. At the moment it always falls back to using /usr/libexec. Fix what looks to be a typo.


ncurses: only look for widechar version When checking for ncurses, only check against the widechar version of the library, otherwise the code won't work correctly, despite it compiling properly. Helped by Thomas Dickey.


portable: initial Linux compilation This commit modifies the GoT main branch to be able to compile it under linux.


fix histedit_no_op test which was failing randomly A no-op replayed history ends up having exactly the same commit IDs if all commits are created at roughly the same moment in time. There are no content changes involved so if commit timestamps do not differ then commit hashes will be the same. In which case there is no fork in history for 'got histedit -l' to display, yet the test was always expecting a fork in history to be displayed. Update the test to take this issue into account. The test will now pass no matter which result is produced by the histedit operation. Problem found by Lucas who observed that this test was randomly failing. Patch also provided by Lucas.


update README blurb about 'ssh 127.0.0.1' requirement for regress tests


tog: use sched_yield(2) instead of pthread_yield(3) for portability pthread_yield(3) is an optional POSIX 2001 extension while sched_yield(2) is part of POSIX 2008. On OpenBSD they are actually equivalent, albeit not documented as such. Using sched_yield(2) helps the -portable version. Patch by Quentin Rameau


tog: document why _XOPEN_SOURCE_EXTENDED is set and don't undefine it


'got status' does not have a -q option; remove it from got.1 synopsis


add -S option to 'got status' synopsis in got.1 man page


bump version number


CHANGES for 0.60


shell code fixes Escape sequences are not handled by every echo(1), e.g. not on FreeBSD. '?' is a glob character and must be quoted. '!' is not a shell meta character. ok tracey stsp


make 'got send' regression tests run 'git fsck' on all involved repositories


fix another instance of 'got send' sending branches the server already has


bump version number


CHANGES for 0.59


verify that 'got status -s' and 'got status -S' cannot be used together


make 'got update' display the worktree's branch name upon success ok tracey


add tests for checkout -q, update -q, and status -S. ok stsp


validate status codes given to 'got status -S'


make got status -s and -S options conflict


make 'got checkout' display the checked out reference and commit ID ok tracey


add suppress status-code selection to got status. this allows for a quick way to clean output without the use of ignore files. ok stsp


make 'got send' properly send commits which are referenced only by tags Problem reported by Omar Polo.


add -q quiet mode to checkout and update. supressing output keeps the terminal responsive on large repos. ok jrick stsp