diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-07-05 00:56:04 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-07-05 00:56:04 +0100 |
commit | e46e00b34f626b3a9508c40d4133f7ece1bb43cd (patch) | |
tree | 8aba96ac6447f56b55e61730840183dafd9124fc /dgit | |
parent | 61f92b326da0efea1cf4d3c263ef0e0b7cacfc25 (diff) |
dgit: checkout: Do not leave detached HEAD!
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4674,7 +4674,7 @@ sub cmd_checkout { } local $ENV{GIT_REFLOG_ACTION} = git_reflog_action_msg "dgit checkout $isuite"; - runcmd (@git, qw(checkout), lref()); + runcmd (@git, qw(checkout), lbranch()); } sub cmd_update_vcs_git () { |