Re: [PATCH v2 08/10] gitk: add keyboard bind for create branch command
Am 03.07.23 um 20:45 schrieb Jens Lidestrom via GitGitGadget:
Show 28 quoted lines
> From: Jens Lidestrom <jens@lidestrom.se>
>
> Signed-off-by: Jens Lidestrom <jens@lidestrom.se>
> ---
> gitk-git/gitk | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/gitk-git/gitk b/gitk-git/gitk
> index 351b88f10c0..f559e279b7a 100755
> --- a/gitk-git/gitk
> +++ b/gitk-git/gitk
> @@ -9582,13 +9582,13 @@ proc wrcomcan {} {
> unset wrcomtop
> }
>
> -proc mkbranch {} {
> - global NS rowmenuid
> +proc mkbranch {id} {
> + global NS
>
> set top .branchdialog
>
> set val(name) ""
> - set val(id) $rowmenuid
> + set val(id) $id
> set val(command) [list mkbrgo $top]
>
> set ui(title) [mc "Create branch"]Clearly, the lines from the 'remove branch' commit belong here.