aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xgit-package2
-rwxr-xr-xgit-sign-for-cgit2
2 files changed, 2 insertions, 2 deletions
diff --git a/git-package b/git-package
index 4becad9..2bdfce4 100755
--- a/git-package
+++ b/git-package
@@ -13,7 +13,7 @@ usage() {
errx 'usage: git package [-f format] tree-ish [path...]'
}
-format="$(git config --get package.format)"
+format="$(git config --get package.format)" || true
: "${format:=tar.gz}"
while getopts f: opt; do
diff --git a/git-sign-for-cgit b/git-sign-for-cgit
index 6fc7311..2acdd5f 100755
--- a/git-sign-for-cgit
+++ b/git-sign-for-cgit
@@ -13,7 +13,7 @@ usage() {
seckey=${SIGNIFY_SECKEY:-$HOME/.signify/release.sec}
-format="$(git config --get package.format)"
+format="$(git config --get package.format)" || true
: "${format:=tar.gz}"
while getopts f: opt; do