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

Re: Fix up some fallout from "setup_git_directory()" cleanups

From
Linus Torvalds <torvalds@osdl.org>
Date
Aug 1, 2006, 05:15 UTC
Message-ID
<Pine.LNX.4.64.0607312215120.4168@g5.osdl.org>
In-Reply-To
<Pine.LNX.4.63.0608010118280.27436@wbgn013.biozentrum.uni-wuerzburg.de>
On Tue, 1 Aug 2006, Johannes Schindelin wrote:
> 
> Wouldn't this just be a _perfect_ task for 'sparse'?
Something like this?
		Linus
---
builtin-diff.c:266:7: warning: symbol 'i' shadows an earlier one
builtin-diff.c:226:6: originally declared here

builtin-fmt-merge-msg.c:141:7: warning: symbol 'len' shadows an earlier one builtin-fmt-merge-msg.c:75:9: originally declared here

builtin-fmt-merge-msg.c:341:17: warning: symbol 'head' shadows an earlier one builtin-fmt-merge-msg.c:252:13: originally declared here

builtin-mv.c:270:8: warning: symbol 'i' shadows an earlier one builtin-mv.c:61:6: originally declared here

builtin-show-branch.c:755:17: warning: symbol 'commit' shadows an earlier one builtin-show-branch.c:555:32: originally declared here

convert-objects.c:186:15: warning: symbol 'p' shadows an earlier one convert-objects.c:154:10: originally declared here

date.c:635:14: warning: symbol 'n' shadows an earlier one date.c:587:6: originally declared here

date.c:649:7: warning: symbol 'n' shadows an earlier one date.c:587:6: originally declared here

fetch.c:51:16: warning: symbol 'tree' shadows an earlier one fetch.c:37:37: originally declared here

fsck-objects.c:582:7: warning: symbol 'i' shadows an earlier one fsck-objects.c:485:6: originally declared here

git.c:281:8: warning: symbol 'i' shadows an earlier one git.c:263:6: originally declared here

pack-check.c:44:17: warning: symbol 'sha1' shadows an earlier one pack-check.c:9:16: originally declared here

pack-objects.c:685:28: warning: symbol 'tree' shadows an earlier one pack-objects.c:662:47: originally declared here

revision.c:85:17: warning: symbol 'commit' shadows an earlier one revision.c:80:47: originally declared here

setup.c:165:7: warning: symbol 'len' shadows an earlier one setup.c:156:6: originally declared here

tree-walk.c:116:21: warning: symbol 'entry' shadows an earlier one tree-walk.c:113:20: originally declared here

Previous: Johannes Schindelin
Message 5 of 5 in “Fix up some fallout from "setup_git_directory()" cleanups”
  1. Linus TorvaldsJul 31, 2006
  2. Junio C HamanoJul 31, 2006
  3. Linus TorvaldsJul 31, 2006
  4. Johannes SchindelinJul 31, 2006
  5. Linus TorvaldsAug 1, 2006

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.