X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=http-pull.c;h=551663e49234dc9b719ee4abb9f8dc8609d759aa;hb=000182eacf99cde27d5916aa415921924b82972c;hp=cc62f85f48fd5fa1e2e09039846845c495fd084a;hpb=bf0f910d1dd5e5b291ea818f3037e8f8fe8caffc;p=git.git diff --git a/http-pull.c b/http-pull.c index cc62f85f..551663e4 100644 --- a/http-pull.c +++ b/http-pull.c @@ -1,11 +1,5 @@ -#include -#include -#include -#include #include "cache.h" #include "commit.h" -#include -#include #include "pull.h" @@ -109,6 +103,8 @@ int main(int argc, char **argv) get_tree = 1; } else if (argv[arg][1] == 'c') { get_history = 1; + } else if (argv[arg][1] == 'd') { + get_delta = 0; } else if (argv[arg][1] == 'a') { get_all = 1; get_tree = 1; @@ -119,7 +115,7 @@ int main(int argc, char **argv) arg++; } if (argc < arg + 2) { - usage("git-http-pull [-c] [-t] [-a] [-v] commit-id url"); + usage("git-http-pull [-c] [-t] [-a] [-d] [-v] commit-id url"); return 1; } commit_id = argv[arg];