Commits
- Commit:
f73bf5bd9e54af999a744c731dfb492e1c9b2b6d
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
replace "(cd path && git cmd)" with "git -C path cmd"
This matches the existing use of "got -r path cmd" and
"git_commit path args".
- Commit:
473418ff6b31540646354b031a2628bfc8e61f66
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename a few pop_id to pop_idx
leftover from 79c49d8454.
- Commit:
79c49d8454129776fe282b780f5836be20ea0052
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
regress: nix 'set -A' kshism from tests
As reported by naddy, this is a non-portable Korn shell construct.
Instead, use the one argument array then make faux space-delimited string
"arrays" for the other ids; they can still be indexed with pop_idx.
improved by + ok naddy@
- Commit:
863cc633e270c0edf587982ac9faccf7bb28f339
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: improve reporting accuracy in branch listing output
As suggested by stsp, show the out-of-date symbol for the work tree branch if
it is not only out of date in relation to the branch tip but also if it
contains mixed commits. Update regress and add new test to check for this case.
Also, explain the mixed commit condition of * and ~ markers denoting work
tree state in got(1) branch -l docs.
ok stsp@
- Commit:
c8d1a97c8f1deb9cb6fae25376d41d8549d28de4
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
expand support for commit keywords to more got commands
Add the ability to use keywords in the backout, branch, checkout, cherrypick,
and patch commands. Includes some basic regress tests for the new commands,
and also some more contrived test cases for 'got log -c[:]keyword[:(+|-)[N]]'.
ok stsp
- Commit:
7db2b0ddc68d7d2761c2c1b93fa9543431efde97
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
detect packed vs. on-disk reference collision when listing refs
ok op@
- Commit:
a19f439c4e07de5c812f1771b37cecbba6e631c4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't pass $ret to test_done on failure when it's known to be zero
Otherwise the test directory it's not left in place; ok tracey@
- Commit:
49c543a6fe888394ca86e6399c706a9965486134
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
use test(1) -eq and -ne to compare integers, and reduce quoting
This brings the rest of the regression test scripts in line with
patch.sh.
- Commit:
4f3c844beaeb6a0b30565833e0481b8de9a5106e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got update' display the worktree's branch name upon success
ok tracey
- Commit:
2f1457c6ccfe722888511926c09af843da3bee0d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow deletion of refs/remotes/ branches with got branch -d
Also, make requirements for branch name arguments more flexible.
Absolute reference names are now accepted.
ok naddy@
- Commit:
54c39596938ae6d19fe5eede072d36a3f61baa12
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use POSIX [s1 = s2] syntax instead of [s1 == s2]; patch by Ryo ONODERA
- Commit:
f6cae3ed1ef0c22150181eeebb8f9e97db99dc5a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch function declarations from Korn shell to Bourne/POSIX shell syntax
ok stsp
- Commit:
7fb414ae4d46ebdaeff458477ba801f9ad5853c4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a -q option to tests for quiet output and use it for 'make regress'
Previous default output remains when test cases are run individually.
ok tracey
- Commit:
da76fce2dfde1786444285db2a03ddf14328c662
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let 'got branch' switch and update the work tree
ok tracey
- Commit:
a74f7e836f1414f6c06fca610a6231e37c1e68fd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add -c option to 'got branch', replacing the optional second argument
- Commit:
ad89fa31184ff8af48516d163f1146ceb3a654f1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got branch' without args show work tree's branch; requested by benno@
- Commit:
6aeab5968f2b14a7aaff1360ae8f6a1679626ecb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix deletion of branches stored in packed-refs
broken since 29606af7a3a58767bf817a38035490899609d13e
- Commit:
a4f89d488d527ac3e4234f22eca2ce92d5ab46a7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow creating branches based on commit IDs as well as other branch references
- Commit:
45cd4e47a6fe68f4dbd45961973ed61e766bfbca
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
detect and prevent deletion of the work tree's current branch
- Commit:
dc5351b4fbeb55371ddf6f812d68c69bc0d478a7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a bug in 'got branch' and add tests for this command