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

[PATCH 1/2] Cleanup: remove unused variable

From
CLChuck Lever <cel@netapp.com>
Date
Nov 15, 2005, 22:52 UTC
Message-ID
<20051115225254.16350.65938.stgit@dexter.citi.umich.edu>
In-Reply-To
<20051115225136.16350.96122.stgit@dexter.citi.umich.edu>

Get rid of git.py:head_link , as it is no longer used by any part of StGIT.

Signed-off-by: Chuck Lever <cel@netapp.com>
---
 stgit/git.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/stgit/git.py b/stgit/git.py
index 9a07fa5..066a8f0 100644
--- a/stgit/git.py
+++ b/stgit/git.py
@@ -33,7 +33,6 @@ if 'GIT_DIR' in os.environ:
 else:
     base_dir = '.git'
 
-head_link = os.path.join(base_dir, 'HEAD')
 
 #
 # Classes
Previous: Chuck LeverNext: Chuck Lever
Message 2 of 3 in “Two more small clean-ups”
  1. 0/2 Two more small clean-upsChuck Lever, Nov 15, 2005
  2. 1/2 Cleanup: remove unused variableChuck Lever, Nov 15, 2005
  3. 2/2 Clean up StGIT's "branch --delete" commandChuck Lever, Nov 15, 2005

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.