summaryrefslogtreecommitdiff
path: root/clone-pack.c
AgeCommit message (Collapse)AuthorFilesLines
2005-08-09[PATCH] -Werror fixesLibravatar Timo Sirainen1-1/+1
GCC's format __attribute__ is good for checking errors, especially with -Wformat=2 parameter. This fixes most of the reported problems against 2005-08-09 snapshot.
2005-07-16Merge three separate "fetch refs" functionsLibravatar Linus Torvalds1-42/+4
It really just boils down to one "get_remote_heads()" function, and a common "struct ref" structure definition.
2005-07-13[PATCH] clone-pack: Typofix in the error message.Libravatar Junio C Hamano1-1/+1
Cleans a small cut-and-paste mistake. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-13[PATCH] clone-pack and clone-script: documentation and add a missing parameter.Libravatar Junio C Hamano1-1/+5
While adding the documentation for these two commands, I noticed that the name of the program on the other end (git-upload-pack) is already almost configurable but git-clone-pack lacked command line parameter parsing to actually use anything but default, so I introduced --exec= like other remote commands while I was at it. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-13Fix the "close before dup" bug in clone-pack tooLibravatar Linus Torvalds1-1/+1
Same issue as git-fetch-pack.
2005-07-09Add "-q" flag to "git commit"Libravatar Linus Torvalds1-2/+7
Maybe you don't want the progress report.
2005-07-06git-clone-pack: fix sparse warningLibravatar Linus Torvalds1-1/+1
Local function that wasn't marked static
2005-07-06[PATCH] clone-pack.c:write_one_ref() - Create leading directories.Libravatar Junio C Hamano1-1/+4
The function write_one_ref() is passed the list of refs received from the other end, which was obtained by directory traversal under $GIT_DIR/refs; this can contain paths other than what git-init-db prepares and would fail to clone when there is such. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-05Add "git-clone-pack" program to help with "git clone"Libravatar Linus Torvalds1-0/+208