Commit Briefs



82d979c595 Thomas Adam

switch branches during noop rebases

Always update to the specified branch even if the branch is already rebased (no commits needed to be rebased, and the branch does not need a fast forward). With the old behavior of erroring and staying on the current branch, I sometimes found myself ignoring the error message, treating it as information and assuming the branch update, and later on committing on top of origin/main instead of the main branch. feedback and ok stsp


f1417e9f1c Thomas Adam

sort and de-duplicate work tree path command line arguments

This is important in cases like 'got diff file.txt file.txt' which should only show the diff for file.txt once. suggested by kn@



cc8021afc2 Thomas Adam

implement 'got diff -c' for diffing commits with optional filtering by path

Need for filtering by path sugggested by kn@ ok naddy@



30f6c0c64b Thomas Adam

add support for multiple path arguments to 'got diff'

positive feedback from Omar and kn ok kn


d52bac284b Thomas Adam

ignore unversioned files while aborting rebase, histedit, merge or operations

ok jrick


c50a74557d Thomas Adam

add histedit -e option which runs the 'edit' script command for every commit

ok jrick






ae1e948a31 Thomas Adam

show commit progress output when 'got merge -c' is used

Otherwise no progress output is shown at all with this command. Commit progress output will also display any additional changes which resulted from conflict resolution. ok millert@




3dc1dc04a5 Thomas Adam

for portability, handle errno variations upon open(2) failure with O_NOFOLLOW

Problem pointed out by naddy for FreeBSD -portable. Discussed with millert, thomas adam, and naddy.


88d249c247 Thomas Adam

stop caring about obstructed versioned files in 'got merge'

Tyring to write a test to cover this case I found that obstructed files are (correctly) detected as local modifications in the work tree. Thus they trigger the pre-condition check for local modications and 'got merge' will not even start to do any work in the presence of obstructed files.


10604dce6e Thomas Adam

add a 'got merge' command for creating merge commits

Additional testing by Thomas Adam. ok tracey


dd038bc6ec Thomas Adam

portable: initial Linux compilation

This commit modifies the GoT main branch to be able to compile it under linux.


4f3c844bea Stefan Sperling

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

ok tracey


788d4a19ed Stefan Sperling

validate status codes given to 'got status -S'


b043307bfa Stefan Sperling

make got status -s and -S options conflict


08e5873e99 Stefan Sperling

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

ok tracey