diff options
Diffstat (limited to 'dgit-badcommit-fixup')
-rwxr-xr-x | dgit-badcommit-fixup | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/dgit-badcommit-fixup b/dgit-badcommit-fixup index 72c719b..32d5f0b 100755 --- a/dgit-badcommit-fixup +++ b/dgit-badcommit-fixup @@ -244,11 +244,6 @@ if (!@updates) { open U, "|git update-ref -m 'dgit bad commit fixup' --stdin" or die $!; -if ($real && $bare eq 'false') { - print "detaching your HEAD\n" or die $!; - runcmd 'git checkout --detach'; -} - for my $up (@updates) { my ($ref, $old, $new, $nobackup) = @$up; my $otherref = $ref; |