t/helper: merge test-write-cache into test-tool
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
0489289de2
commit
c81f843d09
@ -1,9 +1,10 @@
|
||||
#include "test-tool.h"
|
||||
#include "cache.h"
|
||||
#include "lockfile.h"
|
||||
|
||||
static struct lock_file index_lock;
|
||||
|
||||
int cmd_main(int argc, const char **argv)
|
||||
int cmd__write_cache(int argc, const char **argv)
|
||||
{
|
||||
int i, cnt = 1, lockfd;
|
||||
if (argc == 2)
|
||||
|
Reference in New Issue
Block a user