From ff428d91c2b690b8dbd8cc1e48274870c24fe1e2 Mon Sep 17 00:00:00 2001 From: Philipp Krones Date: Tue, 22 Apr 2025 16:10:59 +0200 Subject: Merge commit '0621446356e20fd2ead13a6763bb936c95eb0cfa' into clippy-subtree-update --- rustc_tools_util/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rustc_tools_util') diff --git a/rustc_tools_util/src/lib.rs b/rustc_tools_util/src/lib.rs index 423154a69fa..b45edf23455 100644 --- a/rustc_tools_util/src/lib.rs +++ b/rustc_tools_util/src/lib.rs @@ -121,7 +121,7 @@ fn get_output(cmd: &str, args: &[&str]) -> Option { pub fn rerun_if_git_changes() -> Option<()> { // Make sure we get rerun when the git commit changes. // We want to watch two files: HEAD, which tracks which branch we are on, - // and the file for that branch that tracks which commit is is on. + // and the file for that branch that tracks which commit is checked out. // First, find the `HEAD` file. This should work even with worktrees. let git_head_file = PathBuf::from(get_output("git", &["rev-parse", "--git-path", "HEAD"])?); -- cgit 1.4.1-3-g733a5