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

[PATCH 2/5] merge-tree: lose unused "flags" from merge_list

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 26, 2012, 23:03 UTC
Message-ID
<1356563020-13919-3-git-send-email-gitster@pobox.com>
In-Reply-To
<1356563020-13919-1-git-send-email-gitster@pobox.com>
Drop the unused field from the structure.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 builtin/merge-tree.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/builtin/merge-tree.c b/builtin/merge-tree.c
index ebd0d25..b61d811 100644
--- a/builtin/merge-tree.c
+++ b/builtin/merge-tree.c
@@ -12,8 +12,7 @@ struct merge_list {
 	struct merge_list *next;
 	struct merge_list *link;	/* other stages for this object */
 
-	unsigned int stage : 2,
-		     flags : 30;
+	unsigned int stage : 2;
 	unsigned int mode;
 	const char *path;
 	struct blob *blob;
-- 
1.8.1.rc3.356.g686f81c
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 6 in “merge-tree fix-ups”
  1. 0/5 merge-tree fix-upsJunio C Hamano, Dec 26, 2012
  2. 1/5 Which merge_file() function do you mean?Junio C Hamano, Dec 26, 2012
  3. 2/5 merge-tree: lose unused "flags" from merge_listJunio C Hamano, Dec 26, 2012
  4. 3/5 merge-tree: lose unused "resolve_directories"Junio C Hamano, Dec 26, 2012
  5. 4/5 merge-tree: add comments to clarify what these functions are doingJunio C Hamano, Dec 26, 2012
  6. 5/5 merge-tree: fix d/f conflictsJunio C Hamano, Dec 26, 2012

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.