Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
[gitweb.git]
/
lib
/
checkout_op.tcl
diff --git
a/lib/checkout_op.tcl
b/lib/checkout_op.tcl
index b98c9cbcd8d840b95ffc1cc0e92e2d5effeb2496..f07262ca00876d885954ae15310a0faa197aa5ff 100644
(file)
--- a/
lib/checkout_op.tcl
+++ b/
lib/checkout_op.tcl
@@
-396,7
+396,7
@@
method _after_readtree {} {
set is_detached 0
}
} else {
- if {$new_hash ne $HEAD} {
+ if {
!$is_detached ||
$new_hash ne $HEAD} {
append log " to $new_expr"
if {[catch {
_detach_HEAD $log $new_hash