Skip to content

Commit

Permalink
Mark HEAD as active if in detached HEAD state
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusDoe committed Dec 17, 2024
1 parent ff8fe80 commit 9320907
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
refs
currentBranchOrHead
^ self currentSymbolicHeadTarget ifNil: [self headRefName]
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"createBranchNamed:at:" : "mad 10/16/2023 21:32",
"credentials" : "mad 9/18/2023 12:52",
"credentials:" : "mad 9/18/2023 12:52",
"currentBranchOrHead" : "mad 12/17/2024 19:24",
"currentHeadTarget" : "mad 11/30/2023 13:17",
"currentSymbolicHeadTarget" : "mad 11/30/2023 13:17",
"doImageHashMigration" : "mad 11/29/2023 15:09",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
accessing
isActive
^ self workingCopy currentHeadTarget = self ref
^ self ref = self workingCopy currentBranchOrHead
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"children" : "mad 10/10/2024 01:08",
"children:" : "mad 12/16/2024 21:41",
"compress" : "mad 10/10/2024 01:05",
"isActive" : "mad 10/9/2024 23:41",
"isActive" : "mad 12/17/2024 19:24",
"isRef" : "mad 10/9/2024 23:33",
"text" : "mad 10/10/2024 01:30" } }

0 comments on commit 9320907

Please sign in to comment.