summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-11-26 14:12:07 -0800
committerJunio C Hamano <gitster@pobox.com>2012-11-26 14:12:07 -0800
commit77b598b438e51d45229fe945e2139a7789a150bc (patch)
tree258fc8e1e307d9e4e54741823f382246d3ca1103
parentf7d8e3d01f46ecfa5b4bc8c13640831d97a78236 (diff)
parentd1eded46fa5ed350ff52654103623090101b3ba6 (diff)
downloadgit-77b598b438e51d45229fe945e2139a7789a150bc.tar.gz
Merge branch 'maint'
* maint: Fix typo in remote set-head usage Makefile: hide stderr of curl-config test
-rw-r--r--Makefile2
-rw-r--r--builtin/remote.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9bc5e40365..4ad6fbd64e 100644
--- a/Makefile
+++ b/Makefile
@@ -1573,7 +1573,7 @@ else
REMOTE_CURL_NAMES = $(REMOTE_CURL_PRIMARY) $(REMOTE_CURL_ALIASES)
PROGRAM_OBJS += http-fetch.o
PROGRAMS += $(REMOTE_CURL_NAMES)
- curl_check := $(shell (echo 070908; curl-config --vernum) | sort -r | sed -ne 2p)
+ curl_check := $(shell (echo 070908; curl-config --vernum) 2>/dev/null | sort -r | sed -ne 2p)
ifeq "$(curl_check)" "070908"
ifndef NO_EXPAT
PROGRAM_OBJS += http-push.o
diff --git a/builtin/remote.c b/builtin/remote.c
index a5a4b23231..937484d7c7 100644
--- a/builtin/remote.c
+++ b/builtin/remote.c
@@ -39,7 +39,7 @@ static const char * const builtin_remote_rm_usage[] = {
};
static const char * const builtin_remote_sethead_usage[] = {
- N_("git remote set-head <name> (-a | -d | <branch>])"),
+ N_("git remote set-head <name> (-a | -d | <branch>)"),
NULL
};