From 85273e1b0d7dbe9699a3cad7f303217ebe2a50ed Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 1 Jul 2020 12:00:36 +0200 Subject: [PATCH] Print data dir in debug output. --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 84a0cf1..8ca2629 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -53,6 +53,8 @@ void print_debug(const entry_type &entry) cout << "\r\n\r\nJSON:\r\n"; cout << to_json(entry) << "\r\n"; + + cout << "\r\n\r\nDATADIR: " << get_datadir() << "\r\n"; } int main() @@ -67,7 +69,7 @@ int main() git_libgit2_init(); git::clone(); - cout << "Next branch ID: " << git::get_last_id() + 1 << "\r\n"; + cout << "Branch ID: " << git::get_last_id() + 1 << "\r\n"; git::create_branch(); git::commit(entry); git::push();