Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranit Bauva <pranit.bauva@gmail.com>2016-04-13 02:02:17 +0300
committerJunio C Hamano <gitster@pobox.com>2016-04-20 01:06:17 +0300
commit36e6a5baf1d45e125fcdb99781a0c6448109b44d (patch)
tree4ac30bb1146cffecf7b2e97df9a664cf927a189e /test-parse-options.c
parent8425b7ea6a00c443ca3649545ac6e9ddfa196ef6 (diff)
test-parse-options: print quiet as integer
We would want to see how multiple --quiet options affect the value of the underlying variable (we may want "--quiet --quiet" to still be 1, or we may want to see the value incremented to 2). Show the value as integer to allow us to inspect it. Signed-off-by: Pranit Bauva <pranit.bauva@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-parse-options.c')
-rw-r--r--test-parse-options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-parse-options.c b/test-parse-options.c
index 2c8c8f18ed..86afa9887c 100644
--- a/test-parse-options.c
+++ b/test-parse-options.c
@@ -90,7 +90,7 @@ int main(int argc, char **argv)
printf("string: %s\n", string ? string : "(not set)");
printf("abbrev: %d\n", abbrev);
printf("verbose: %d\n", verbose);
- printf("quiet: %s\n", quiet ? "yes" : "no");
+ printf("quiet: %d\n", quiet);
printf("dry run: %s\n", dry_run ? "yes" : "no");
printf("file: %s\n", file ? file : "(not set)");