chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
82ba0c6
)
dgit-badcommit-fixup: Do not detach HEAD - this is not needed
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 6 Jan 2017 18:13:34 +0000
(18:13 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 6 Jan 2017 18:32:14 +0000
(18:32 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-badcommit-fixup
patch
|
blob
|
history
diff --git
a/dgit-badcommit-fixup
b/dgit-badcommit-fixup
index 72c719b117b5b2d444a4723a4a32238ad9ab39d0..32d5f0b1d3178004b05b4dbf25f92ee6b801b089 100755
(executable)
--- 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;