ref: fe719622152446116dac35f1773ff6066b010ca9
parent: f584e3576575084bb0f68f9da539618878ad490a
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Sep 6 14:04:54 EDT 2020
logging: unify chattygit/debug
--- a/repack.c
+++ b/repack.c
@@ -54,7 +54,7 @@
ARGBEGIN{
case 'd':
- debug++;
+ chattygit++;
break;
default:
usage();
--- a/serve.c
+++ b/serve.c
@@ -424,7 +424,6 @@
ARGBEGIN{
case 'd':
- debug++;
chattygit++;
break;
case 'r':
--- a/util.c
+++ b/util.c
@@ -6,8 +6,9 @@
Reprog *authorpat;
Hash Zhash;
-int debug;
+int chattygit;
+
Object*
emptydir(void)
{
@@ -249,7 +250,7 @@
{
va_list ap;
- if(debug < v)
+ if(chattygit < v)
return;
va_start(ap, fmt);
vfprint(2, fmt, ap);