aboutsummaryrefslogtreecommitdiff
path: root/tests/t0104-tree.sh
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2013-03-04 04:41:53 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-04 14:12:54 +0000
commit973deda0eaf4e16c8cc0b25ca1bff1faae17584e (patch)
treeb7be3fb3739a511ee7132fefc1defa62e2e2a2d6 /tests/t0104-tree.sh
parentbdae1d8a8d39206ac75ab86f8e9ef53b2f29432e (diff)
downloadcgit-973deda0eaf4e16c8cc0b25ca1bff1faae17584e.tar
cgit-973deda0eaf4e16c8cc0b25ca1bff1faae17584e.tar.gz
cgit-973deda0eaf4e16c8cc0b25ca1bff1faae17584e.zip
ui-snapshot.c: Fill argv[0] with dummy.
parse_archive_args does not pass PARSE_OPT_KEEP_ARGV0 to parse_args, which means the first argument will be discarded, as though it were a function being called from the command-line. Thus, we fill argv[0] with a dummy argument to prevent this from happening. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tests/t0104-tree.sh')
0 files changed, 0 insertions, 0 deletions