Print data dir in debug output.

This commit is contained in:
tastytea 2020-07-01 12:00:36 +02:00
parent ba2d7d827e
commit 85273e1b0d
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 1 deletions

View File

@ -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();