From 7a6e0d968dbacbc9e59a2e204f55daf315709c7d Mon Sep 17 00:00:00 2001 From: lancebord Date: Tue, 3 Mar 2026 11:59:19 -0500 Subject: deatch head for tagged --- src/util.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util.rs b/src/util.rs index 5394fb0..9a75111 100644 --- a/src/util.rs +++ b/src/util.rs @@ -174,8 +174,8 @@ pub fn pull_latest_tag(path: &Path) -> Result<(), git2::Error> { if analysis.is_fast_forward() { let refname = format!("refs/heads/{}", branch); let mut reference = repo.find_reference(&refname)?; - reference.set_target(latest_commit.id(), "Fast-Forward to latest tag")?; - repo.set_head(&refname)?; + reference.set_target(latest_commit.id(), "set to latest tag")?; + repo.set_head_detached(latest_commit.id())?; repo.checkout_head(Some(CheckoutBuilder::default().force()))?; } else if !analysis.is_up_to_date() { println!("Cannot fast-forward to latest tag."); -- cgit v1.2.3-59-g8ed1b t.lua?follow=1'>logtreecommitdiffstats
path: root/.lush/init.lua (unfollow)
Commit message (Expand)AuthorFilesLines
2025-08-19update install script pathsGravatar Lance Borden 4-5/+5
2025-08-19v0.4.0Gravatar Lance Borden 1-12/+12
2025-08-19keep history to home dir and use .config instead of custom dotfile dirGravatar Lance Borden 3-10/+8
2025-08-19update compil instructionsGravatar Lance Borden 1-1/+1
2025-07-23Revert to old hashmap: fixed gitmodule indexGravatar Andrew D. France 4-3/+107
2025-07-23build: Remove broken submodule configurationGravatar Andrew D. France 3-1/+0
2025-07-23Remove CI/CD pipeline files - moving to separate PRGravatar Andrew D. France 4-185/+0
2025-07-23make was improperly being called inside the container on a project that is mi...Gravatar Andrew D. France 2-5/+9
2025-07-23Attempt to patch CI pipeline: Dockerfile will now be selfcontained, and thus,...Gravatar Andrew D. France 2-32/+43
2025-07-23CRITICAL ISSUE: Deleting lib/ files has introduced the issue of actually auto...Gravatar Andrew D. France 1-38/+25
2025-07-23CRITICAL FOR TESTING: This copies the entire Jenkins workspace (including the...Gravatar Andrew D. France 2-9/+7