regress/cmdline/branch.sh


Log

Author Commit Date CI Message
Christian Weisgerber 49c543a6 2022-03-31T20:41:38 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.
Stefan Sperling 4f3c844b 2021-09-14T16:12:52 make 'got update' display the worktree's branch name upon success ok tracey
Stefan Sperling 2f1457c6 2021-08-27T16:48:53 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@
Stefan Sperling 54c39596 2020-12-28T17:38:34 use POSIX [s1 = s2] syntax instead of [s1 == s2]; patch by Ryo ONODERA
Christian Weisgerber f6cae3ed 2020-09-13T14:05:17 switch function declarations from Korn shell to Bourne/POSIX shell syntax ok stsp
Stefan Sperling 7fb414ae 2020-08-08T07:34:47 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
Stefan Sperling da76fce2 2020-02-24T20:31:09 let 'got branch' switch and update the work tree ok tracey
Stefan Sperling a74f7e83 2019-11-10T11:33:13 add -c option to 'got branch', replacing the optional second argument
Stefan Sperling ad89fa31 2019-10-04T15:56:03 make 'got branch' without args show work tree's branch; requested by benno@
Stefan Sperling 6aeab596 2019-08-28T14:51:42 fix deletion of branches stored in packed-refs broken since 29606af7a3a58767bf817a38035490899609d13e
Stefan Sperling a4f89d48 2019-08-25T13:45:30 allow creating branches based on commit IDs as well as other branch references
Stefan Sperling 45cd4e47 2019-08-25T13:30:38 detect and prevent deletion of the work tree's current branch
Stefan Sperling dc5351b4 2019-07-30T17:22:16 fix a bug in 'got branch' and add tests for this command