blob: 64dbe48aa88e93baa6671e9357a6a5e3c99d9f92 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#!/bin/sh
# shellcheck disable=2034
set -eu
MSG_USAGE="$(cat <<-'EOF'
Usage: git permalink [-phV] FILE [LINENO]
EOF
)"
MSG_HELP="$(cat <<-'EOF'
Options:
-p only print the link, don't try to open it
-h, --help show this help message
-V, --version print the version number
See "man git-permalink" for more information.
EOF
)"
MSG_MISSING_FILE="$(cat <<-'EOF'
Missing FILE argument.
EOF
)"
MSG_UNSUPPORTED_ORIGIN="$(cat <<-'EOF'
Unsupported origin: %s.
Add a template override to use git-permalink (see
"man git-permalink" for instructions).
EOF
)"
MSG_OPEN="$(cat <<-'EOF'
Opening %s
EOF
)"
|