git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[GIT PULL] git-gui: fix for: [ANNOUNCE] Git v2.50.0-rc1 - Test Failed

From
Johannes Sixt <j6t@kdbg.org>
Date
Jun 6, 2025, 05:57 UTC
Message-ID
<4f390ad8-6c30-493c-952e-d1f079a7f6ac@kdbg.org>
In-Reply-To
<xmqqikl97u1l.fsf@gitster.g>
The following changes since commit 61f8788fe9d362efb112f69a58cf0510a7e49ee0:
  Merge branch 'pks-meson-support' of github.com:pks-t/git-gui (2025-05-29 10:01:14 +0200)
are available in the Git repository at:
  https://github.com/j6t/git-gui.git master
for you to fetch changes up to 765f1db2b5a890c0fa01f8976f197a8483357afe:
  git-gui: don't delete source files when auto_mkindex fails (2025-06-06 07:43:37 +0200)
----------------------------------------------------------------
commit 765f1db2b5a890c0fa01f8976f197a8483357afe
Author: Johannes Sixt <j6t@kdbg.org>
Date:   Fri Jun 6 07:41:42 2025 +0200
    git-gui: don't delete source files when auto_mkindex fails
    
    Commit 2cc5b0facfa4 (git-gui: extract script to generate "tclIndex",
    2025-03-11) converted commands in a Makefile rule to a shell script.
    In this process, the Makefile variable $@ had to be replaced by the
    file name that it represents, 'lib/tclIndex'. However, the occurrence
    in `rm -f $@` was missed. In a shell script, $@ expands to all
    command line arguments, which happen to be the source files lib/*.tcl
    in this case. Needless to say that we do not want to remove source
    files during a build. Replace $@ by the intended 'lib/tclIndex'.
    
    Reported-by: Randall S. Becker <rsbecker@nexbridge.com>
    Signed-off-by: Johannes Sixt <j6t@kdbg.org>
diff --git a/generate-tclindex.sh b/generate-tclindex.sh
index 36e3a0bd90ee..0b031d8339c4 100755
--- a/generate-tclindex.sh
+++ b/generate-tclindex.sh
@@ -23,7 +23,7 @@ then
 	: ok
 else
 	 echo >&2 "    * $TCL_PATH failed; using unoptimized loading"
-	 rm -f $@
+	 rm -f lib/tclIndex
 	 echo '# Autogenerated by git-gui Makefile' >lib/tclIndex
 	 echo >>lib/tclIndex
 	 echo "class.tcl" >>lib/tclIndex
Previous: Junio C HamanoNext: Johannes Sixt
Message 12 of 17 in “[ANNOUNCE] Git v2.50.0-rc1”
  1. Junio C HamanoJun 3, 2025
  2. rsbecker@nexbridge.comJun 3, 2025
  3. rsbecker@nexbridge.comJun 3, 2025
  4. Todd ZullingerJun 4, 2025
  5. Junio C HamanoJun 4, 2025
  6. Johannes SixtJun 4, 2025
  7. rsbecker@nexbridge.comJun 5, 2025
  8. Patrick SteinhardtJun 5, 2025
  9. rsbecker@nexbridge.comJun 5, 2025
  10. Johannes SixtJun 5, 2025
  11. Junio C HamanoJun 5, 2025
  12. [GIT PULL] git-gui: fix for: [ANNOUNCE] Git v2.50.0-rc1 - Test FailedJohannes Sixt, Jun 6, 2025
  13. [GIT PULL] git-gui: Sync with 2.50.1, Tcl >= 8.6, git >= 2.36Johannes Sixt, Jul 22, 2025
  14. rsbecker@nexbridge.comJun 5, 2025
  15. Junio C HamanoJun 5, 2025
  16. 'Todd Zullinger'Jun 5, 2025
  17. rsbecker@nexbridge.comJun 6, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.