Commit graph

4 commits

Author SHA1 Message Date
Nicolas Dufresne
32bf9a29f7 gst-worktree.py: Add execution permission
This allow doing ./gst-worktree.py directly.
2020-02-02 17:44:00 -05:00
Nicolas Dufresne
c1f9d409b4 gst-worktree: Allow creating a new branch
This is useful when you want to create a worktree from let's say master
branch and start a new branch. This basically reproduce git-worktree -b
options.
2020-01-31 13:56:05 -05:00
Nirbheek Chauhan
769711394e gst-worktree: Add sub-commands: add and rm
`add` behaves the same as before. `rm` removes worktrees.

`git worktree remove` on the gst-build worktree will delete the
subproject worktrees inside it, but will not remove the references to
them in the main repository's subproject worktrees. The `rm` command
will.
2019-11-24 01:25:38 +05:30
Nirbheek Chauhan
5b77e65d06 Move checkout-branch-worktree to gst-worktree.py
We will add more actions to it than just 'checkout'. Also add
a wrapper shell script that calls gst-worktree.py with the correct
arguments.
2019-11-24 01:25:38 +05:30