diff options
Diffstat (limited to 'builtin/get-tar-commit-id.c')
-rw-r--r-- | builtin/get-tar-commit-id.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/get-tar-commit-id.c b/builtin/get-tar-commit-id.c index 491af9202d..8f8f2ac3e6 100644 --- a/builtin/get-tar-commit-id.c +++ b/builtin/get-tar-commit-id.c @@ -24,6 +24,8 @@ int cmd_get_tar_commit_id(int argc, const char **argv, const char *prefix) long len; char *end; + BUG_ON_NON_EMPTY_PREFIX(prefix); + if (argc != 1) usage(builtin_get_tar_commit_id_usage); |