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

[StGIT PATCH 1/2] Test that all branch config information is renamed

From
Karl Hasselström <kha@treskal.com>
Date
Aug 8, 2007, 22:56 UTC
Message-ID
<20070808225635.17114.27216.stgit@yoghurt>
In-Reply-To
<20070808225522.17114.3065.stgit@yoghurt>

This test currently fails (which is precisely why it's needed, of course.) This is bug 9692 in the bug tracker.

Signed-off-by: Karl Hasselström <kha@treskal.com>
---
 t/t1001-branch-rename.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/t/t1001-branch-rename.sh b/t/t1001-branch-rename.sh
index 28da15c..28af8ae 100755
--- a/t/t1001-branch-rename.sh
+++ b/t/t1001-branch-rename.sh
@@ -26,7 +26,8 @@ test_expect_success \
     'Rename an stgit branch' \
     'stg branch -c buz &&
      stg branch -r foo bar &&
-     test -z `find .git -name foo | tee /dev/stderr`
+     test -z `find .git -name foo | tee /dev/stderr` &&
+     test -z $(git config -l | grep branch\\.foo)
 '
 
 test_done
Previous: Karl HasselströmNext: Karl Hasselström
Message 2 of 3 in “Branch renaming bugfix”
  1. 0/2 Branch renaming bugfixKarl Hasselström, Aug 8, 2007
  2. 1/2 Test that all branch config information is renamedKarl Hasselström, Aug 8, 2007
  3. 2/2 Rename all config sections of a branchKarl Hasselström, Aug 8, 2007

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.