vcs-svn: use higher mark numbers for blobs
Prepare to use mark :5 for the commit corresponding to r5 (and so on). 1 billion seems sufficiently high for blob marks to avoid conflicting with rev marks, while still leaving room for 3 billion blobs. Such high mark numbers cause trouble with ancient fast-import versions, but this topic cannot support git fast-import versions before 1.7.4 (which introduces the cat-blob command) anyway. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Jonathan Nieder committed
Dec 10, 2010 at 04:21 UTC
d38f84484f21e7e509ff009d3a17167c9c09f893
1 file changed
+1
-1
vcs-svn/repo_tree.c
+1
-1
@@ -292,7 +292,7 @@ void repo_commit(uint32_t revision, uint32_t author, char *log, uint32_t uuid,
292
static void mark_init(void)
293
{
294
uint32_t i;
295
- mark = 0;
295
+ mark = 1024 * 1024 * 1024;
296
for (i = 0; i < dent_pool.size; i++)
297
if (!repo_dirent_is_dir(dent_pointer(i)) &&
298
dent_pointer(i)->content_offset > mark)