Print data dir in debug output.
This commit is contained in:
parent
ba2d7d827e
commit
85273e1b0d
|
@ -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();
|
||||
|
|
Reference in New Issue