Skip to content

Commit 77b598b

Browse files
committed
Merge branch 'maint'
* maint: Fix typo in remote set-head usage Makefile: hide stderr of curl-config test
2 parents f7d8e3d + d1eded4 commit 77b598b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1573,7 +1573,7 @@ else
15731573
REMOTE_CURL_NAMES = $(REMOTE_CURL_PRIMARY) $(REMOTE_CURL_ALIASES)
15741574
PROGRAM_OBJS += http-fetch.o
15751575
PROGRAMS += $(REMOTE_CURL_NAMES)
1576-
curl_check := $(shell (echo 070908; curl-config --vernum) | sort -r | sed -ne 2p)
1576+
curl_check := $(shell (echo 070908; curl-config --vernum) 2>/dev/null | sort -r | sed -ne 2p)
15771577
ifeq "$(curl_check)" "070908"
15781578
ifndef NO_EXPAT
15791579
PROGRAM_OBJS += http-push.o

builtin/remote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ static const char * const builtin_remote_rm_usage[] = {
3939
};
4040

4141
static const char * const builtin_remote_sethead_usage[] = {
42-
N_("git remote set-head <name> (-a | -d | <branch>])"),
42+
N_("git remote set-head <name> (-a | -d | <branch>)"),
4343
NULL
4444
};
4545

0 commit comments

Comments
 (0)