Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ head
Method
head
atomic-cli/tests/it/agent_git_commit_absorb_test.rs:157–159 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
155
}
156
157
fn head(&self) -> String {
158
self.git(&[
"rev-parse"
,
"HEAD"
])
159
}
160
161
fn head_is_detached(&self) -> bool {
162
!self
Callers
15
agent_git_commit_is_recorded_as_the_agents_turn
Function · 0.45
a_staged_then_committed_change_is_absorbed_like_commit_all
Function · 0.45
the_session_keeps_working_after_an_absorbed_commit
Function · 0.45
a_commit_with_uncommitted_remainder_keeps_the_durable_refusal
Function · 0.45
a_commit_without_the_shim_capture_hook_keeps_the_durable_refusal
Function · 0.45
two_commits_in_one_turn_keep_the_durable_refusal
Function · 0.45
a_commit_with_a_path_the_turn_would_not_record_keeps_the_durable_refusal
Function · 0.45
a_commit_with_an_executable_file_keeps_the_durable_refusal
Function · 0.45
a_commit_that_replaces_a_file_with_a_directory_keeps_the_durable_refusal
Function · 0.45
a_commit_that_replaces_a_directory_with_a_file_keeps_the_durable_refusal
Function · 0.45
an_amended_commit_keeps_the_durable_refusal
Function · 0.45
a_commit_on_a_new_branch_keeps_the_durable_refusal
Function · 0.45
Calls
1
git
Method · 0.45
Tested by
no test coverage detected