X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=local-pull.c;h=b715203f6fb482cce8b00cc99c72384e42528b36;hb=f29eaed12fc07bc5b2e4d1a302136a26ff4488ce;hp=908e18750903ddbec13f38ab8e1f389685ce9212;hpb=e35f9824159bba94eecdf22d198799701ed60940;p=git.git diff --git a/local-pull.c b/local-pull.c index 908e1875..b715203f 100644 --- a/local-pull.c +++ b/local-pull.c @@ -11,6 +11,10 @@ static int use_filecopy = 1; static char *path; /* "Remote" git repository */ +void prefetch(unsigned char *sha1) +{ +} + int fetch(unsigned char *sha1) { static int object_name_start = -1; @@ -101,7 +105,7 @@ int fetch_ref(char *ref, unsigned char *sha1) return 0; } -static const char *local_pull_usage = +static const char local_pull_usage[] = "git-local-pull [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [-l] [-s] [-n] commit-id path"; /*