Code

git-gui: Allow double-click in checkout dialog to start checkout
[git.git] / lib / commit.tcl
index c5f608beb03a84aac19475adff0fc3f479995f3a..d0e4996bae579a95ee82830a34286e51101f1987 100644 (file)
@@ -359,14 +359,6 @@ A rescan will be automatically started now.
 
        if {[is_enabled singlecommit]} do_quit
 
-       # -- Make sure our current branch exists.
-       #
-       if {$commit_type eq {initial}} {
-               lappend all_heads $current_branch
-               set all_heads [lsort -unique $all_heads]
-               populate_branch_menu
-       }
-
        # -- Update in memory status
        #
        set selected_commit_type new