summaryrefslogtreecommitdiff
path: root/git-request-pull.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-11-09 00:21:44 -0800
committerJunio C Hamano <gitster@pobox.com>2007-11-09 00:21:44 -0800
commit5d4138a66d265e7ddbe21d44f79bcaa1e9a6b6ff (patch)
tree47ff3839458d806fee14824f616c55cdd55b82fb /git-request-pull.sh
parent063036af0832710cfcb1380cc4f9c4597b98cc26 (diff)
parentb9217c09386e5313ac6a54cc91cf03149514154b (diff)
downloadgit-5d4138a66d265e7ddbe21d44f79bcaa1e9a6b6ff.tar.gz
Merge branch 'maint'
* maint: Start preparing for 1.5.3.6 git-send-email: Change the prompt for the subject of the initial message. SubmittingPatches: improve the 'Patch:' section of the checklist instaweb: Minor cleanups and fixes for potential problems stop t1400 hiding errors in tests Makefile: add missing dependency on wt-status.h refresh_index_quietly(): express "optional" nature of index writing better Fix sed string regex escaping in module_name. Avoid a few unportable, needlessly nested "...`...". git-mailsplit: with maildirs not only process cur/, but also new/ Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-request-pull.sh')
-rwxr-xr-xgit-request-pull.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-request-pull.sh b/git-request-pull.sh
index a992430679..95ad66630f 100755
--- a/git-request-pull.sh
+++ b/git-request-pull.sh
@@ -24,13 +24,13 @@ headrev=`git rev-parse --verify "$head"^0` || exit
merge_base=`git merge-base $baserev $headrev` ||
die "fatal: No commits in common between $base and $head"
-url="`get_remote_url "$url"`"
-branch=`git peek-remote "$url" \
+url=$(get_remote_url "$url")
+branch=$(git peek-remote "$url" \
| sed -n -e "/^$headrev refs.heads./{
s/^.* refs.heads.//
p
q
- }"`
+ }")
if [ -z "$branch" ]; then
echo "warn: No branch of $url is at:" >&2
git log --max-count=1 --pretty='format:warn: %h: %s' $headrev >&2