summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2024-05-19 09:20:32 +0100
committerSean Whitton <spwhitton@spwhitton.name>2024-05-19 09:20:32 +0100
commitdaffd0b1bff2e6f4f3c9e5f88de1eadc2b550619 (patch)
tree03497d0c019b3ca5e422e9cbcb2d2e5c0b5fcfaa
parent3e72e8100ff885094e24302eae13078b83f461ec (diff)
git-debpush: quote argument to git-cat-file
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rwxr-xr-xgit-debpush2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-debpush b/git-debpush
index 4aa0f7c..beafd4b 100755
--- a/git-debpush
+++ b/git-debpush
@@ -63,7 +63,7 @@ get_file_from_ref () {
# SIGPIPEing git-ls-tree
if git ls-tree --name-only -r "$branch" \
| grep -E "^$path$" >/dev/null; then
- git cat-file blob $branch:$path
+ git cat-file blob "$branch:$path"
fi
}