summaryrefslogtreecommitdiff
path: root/midx.c
diff options
context:
space:
mode:
authorDerrick Stolee <stolee@gmail.com>2018-07-12 19:39:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-07-20 18:27:28 (GMT)
commita3407730261b11b45dda131464b73ec29922392a (patch)
tree8a90e90443a4e3d6b69c8afbeae2dcc436eb18eb /midx.c
parent6a257f03ba9b86c744064d08df98db1847cf1722 (diff)
downloadgit-a3407730261b11b45dda131464b73ec29922392a.zip
git-a3407730261b11b45dda131464b73ec29922392a.tar.gz
git-a3407730261b11b45dda131464b73ec29922392a.tar.bz2
multi-pack-index: add 'write' verb
In anticipation of writing multi-pack-indexes, add a skeleton 'git multi-pack-index write' subcommand and send the options to a write_midx_file() method. Also create a skeleton test script that tests the 'write' subcommand. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'midx.c')
-rw-r--r--midx.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/midx.c b/midx.c
new file mode 100644
index 0000000..32468db
--- /dev/null
+++ b/midx.c
@@ -0,0 +1,7 @@
+#include "cache.h"
+#include "midx.h"
+
+int write_midx_file(const char *object_dir)
+{
+ return 0;
+}