author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 21 Jan 2007 06:31:14 +0000 (01:31 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 21 Jan 2007 07:54:25 +0000 (02:54 -0500) | ||
commit | c5ab47cbe4cf9f2f3068c9bf23a666404b615176 | |
tree | 5e4bd4a16e9339e0c2bae8a728594e8d6f5554c9 | tree | snapshot |
parent | ab26abd483d2e63f782a4335331ba6b2cfeed1bc | commit | diff |
git-gui: Implemented create branch GUI.
Users may now create new branches by activating the Branch->Create menu
item. This opens a dialog which lets the user enter the new branch
name and select the starting revision for the new branch.
For the starting revision we allow the user to either select from a
list of known heads (aka local branches) or to enter an arbitrary
SHA1 expression. For either creation technique we run the starting
revision through rev-parse to verify it is valid before trying to
create the ref with update-ref.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Users may now create new branches by activating the Branch->Create menu
item. This opens a dialog which lets the user enter the new branch
name and select the starting revision for the new branch.
For the starting revision we allow the user to either select from a
list of known heads (aka local branches) or to enter an arbitrary
SHA1 expression. For either creation technique we run the starting
revision through rev-parse to verify it is valid before trying to
create the ref with update-ref.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history |