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

Re: [PATCH] move MAXDEPTH definition to the cache.h

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 21, 2015, 00:24 UTC
Message-ID
<xmqqfvb5yo9k.fsf@gitster.dls.corp.google.com>
In-Reply-To
<1421777797-14781-1-git-send-email-kuleshovmail@gmail.com>
Alexander Kuleshov <kuleshovmail@gmail.com> writes:
> There are a couple of source code files as abspath.c, lockfile.c and etc...,
> which defines MAXDEPTH macro. All of these definitions are the same,...

Are they the same by design (because there are logical linkage between these values and there is a reason why they must share the same value), or are they happen to be the same (i.e. one can be raised for some reason without affecting others)?

I am guessing that it is the latter, and if that is the case, then they should not be made into a single symbol.

Previous: Torsten Bögershausen
Message 3 of 3 in “move MAXDEPTH definition to the cache.h”
  1. move MAXDEPTH definition to the cache.hAlexander Kuleshov, Jan 20, 2015
  2. Torsten BögershausenJan 20, 2015
  3. Junio C HamanoJan 21, 2015

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.