{"thread":{"id":"1373","subject":"[PATCH] add NO_CURL option to the Makefile","startedAt":"2005-07-31T00:14:23Z","lastAt":"2005-07-31T04:12:54Z","messageCount":3,"participants":["Johannes Schindelin","Junio C Hamano","Linus Torvalds"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"6649","messageId":"Pine.LNX.4.58.0507310213110.13590@wgmdd8.biozentrum.uni-wuerzburg.de","threadId":"1373","inReplyTo":null,"subject":"[PATCH] add NO_CURL option to the Makefile","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2005-07-31T00:14:23Z","receivedAt":"2005-07-31T00:14:23Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"This patch implements Linus' idea that if you are not interested in\npulling by HTTP, you can now say\n\n\tNO_CURL=1 make\n\nto compile everything except git-http-pull (thus not needing curl at all).\n---\n\n Makefile |    6 +++++-\n 1 files changed, 5 insertions(+), 1 deletions(-)\n\nb2e1e7eb6876b5f385bc52bf78e9551d1457215b\ndiff --git a/Makefile b/Makefile\n--- a/Makefile\n+++ b/Makefile\n@@ -69,7 +69,7 @@ PROG=   git-update-cache git-diff-files\n \tgit-checkout-cache git-diff-tree git-rev-tree git-ls-files \\\n \tgit-check-files git-ls-tree git-merge-base git-merge-cache \\\n \tgit-unpack-file git-export git-diff-cache git-convert-cache \\\n-\tgit-http-pull git-ssh-push git-ssh-pull git-rev-list git-mktag \\\n+\tgit-ssh-push git-ssh-pull git-rev-list git-mktag \\\n \tgit-diff-helper git-tar-tree git-local-pull git-hash-object \\\n \tgit-get-tar-commit-id git-apply git-stripspace \\\n \tgit-diff-stages git-rev-parse git-patch-id git-pack-objects \\\n@@ -78,6 +78,10 @@ PROG=   git-update-cache git-diff-files\n \tgit-show-index git-daemon git-var git-peek-remote \\\n \tgit-update-server-info git-show-rev-cache git-build-rev-cache\n\n+ifndef NO_CURL\n+PROG+= git-http-pull\n+endif\n+\n LIB_FILE=libgit.a\n LIB_H=cache.h object.h blob.h tree.h commit.h tag.h delta.h epoch.h csum-file.h \\\n \tpack.h pkt-line.h refs.h\n"},{"id":"6651","messageId":"7vk6j7ye6b.fsf@assigned-by-dhcp.cox.net","threadId":"1373","inReplyTo":"Pine.LNX.4.58.0507310213110.13590@wgmdd8.biozentrum.uni-wuerzburg.de","subject":"Re: [PATCH] add NO_CURL option to the Makefile","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-07-31T01:09:16Z","receivedAt":"2005-07-31T01:09:16Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:\n\n> This patch implements Linus' idea that if you are not interested in\n> pulling by HTTP, you can now say\n>\n> \tNO_CURL=1 make\n>\n> to compile everything except git-http-pull (thus not needing curl at all).\n\nThanks.  Obviously this does not take care of the use of curl\nexecutable to handle http:// URL in clone and fetch, but I do\nnot think that is worth the trouble (we should document it\nthough).\n\nI love it I can just slow down and let others submit obviously\ncorrect patches, which I can just slurp in.\n"},{"id":"6652","messageId":"Pine.LNX.4.58.0507302110170.29650@g5.osdl.org","threadId":"1373","inReplyTo":"7vk6j7ye6b.fsf@assigned-by-dhcp.cox.net","subject":"Re: [PATCH] add NO_CURL option to the Makefile","fromName":"Linus Torvalds","fromEmail":"torvalds@osdl.org","sentAt":"2005-07-31T04:12:54Z","receivedAt":"2005-07-31T04:12:54Z","isPatch":true,"sender":{"key":"torvalds@linux-foundation.org","avatar":"https://avatars.githubusercontent.com/u/1024025?v=4"},"body":"\n\nOn Sat, 30 Jul 2005, Junio C Hamano wrote:\n> \n> I love it I can just slow down and let others submit obviously\n> correct patches, which I can just slurp in.\n\nYou're obviously doing well as a maintainer. Only stupid people try to do \neverything themselves.\n\nPersonally, I spend a _lot_ of time communicating, because even if it's a \nlot more work to explain (in detail) what I want done, and it doesn't work \nout all the time, and I sometimes have to do it myself _anyway_, if it \nworks even just occasionally, it not only gets people involved, it makes \nthem do it themselves next time around without prodding, and then you just \nsit back, sip a foofy tropical drink, and take the credit.\n\n\t\tLinus\n"}]}