File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ OPTIONS_SPEC=
12
12
. git-sh-setup
13
13
. git-parse-remote
14
14
15
+ GIT_PAGER=
16
+ export GIT_PAGER
17
+
15
18
base=$1
16
19
url=$2
17
20
head=${3-HEAD}
@@ -34,16 +37,14 @@ branch=$(git ls-remote "$url" \
34
37
}" )
35
38
if [ -z " $branch " ]; then
36
39
echo " warn: No branch of $url is at:" >&2
37
- git log --max-count=1 --pretty=' format :warn: %h: %s' $headrev >&2
40
+ git log --max-count=1 --pretty=' tformat :warn: %h: %s' $headrev >&2
38
41
echo " warn: Are you sure you pushed $head there?" >&2
39
42
echo >&2
40
43
echo >&2
41
44
branch=..BRANCH.NOT.VERIFIED..
42
45
status=1
43
46
fi
44
47
45
- GIT_PAGER=
46
- export GIT_PAGER
47
48
echo " The following changes since commit $baserev :"
48
49
git shortlog --max-count=1 $baserev | sed -e ' s/^\(.\)/ \1/'
49
50
You can’t perform that action at this time.
0 commit comments