git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-fast-import: note 1M limit of mark number
@ 2008-04-15 12:54 Sam Vilain
  2008-04-15 15:50 ` Michael Haggerty
  0 siblings, 1 reply; 5+ messages in thread
From: Sam Vilain @ 2008-04-15 12:54 UTC (permalink / raw)
  To: git

The insert_mark() function in fast-import.c has this limit; note the
limitation in the documentation.

Signed-off-by: Sam Vilain <sam@vilain.net>
---
 Documentation/git-fast-import.txt |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt
index c29a4f8..b5cc3c2 100644
--- a/Documentation/git-fast-import.txt
+++ b/Documentation/git-fast-import.txt
@@ -410,6 +410,9 @@ or `refs/heads/42`), or an abbreviated SHA-1 which happened to
 consist only of base-10 digits.
 +
 Marks must be declared (via `mark`) before they can be used.
++
+Note that due to current internal limitations, you may not make marks
+with a higher number than 1048575 (2^20-1).
 
 * A complete 40 byte or abbreviated commit SHA-1 in hex.
 
-- 
1.5.4.rc2.85.g7c8f5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-16  7:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-15 12:54 [PATCH] git-fast-import: note 1M limit of mark number Sam Vilain
2008-04-15 15:50 ` Michael Haggerty
2008-04-15 21:05   ` Sam Vilain
2008-04-16  6:54     ` Shawn O. Pearce
2008-04-16  7:04     ` Michael Haggerty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).