projects
/
backups
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Regular commit
[backups/.git]
/
main.cpp
diff --git
a/main.cpp
b/main.cpp
index b630ec8e78f42649351b3c66f2d3cdaa198c6fb3..b0b6f1194e739ea632e0d273dd7bad63b8b3bcdc 100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-144,7
+144,7
@@
int main() {
// Track the total size of added files
unsigned long long added_blocks, added_bytes;
// Track the total size of added files
unsigned long long added_blocks, added_bytes;
- sizes(
backups.begin(), backups
.end(), added_blocks, added_bytes );
+ sizes(
added.begin(), added
.end(), added_blocks, added_bytes );
file_vector modified_files;
// Backup files that have been modified
file_vector modified_files;
// Backup files that have been modified
@@
-214,6
+214,8
@@
int main() {
// Write the 'final' list to stdout
copy_filenames( final.begin(), final.end(), ostream_iterator<string>( cout, "" ) );
// Write the 'final' list to stdout
copy_filenames( final.begin(), final.end(), ostream_iterator<string>( cout, "" ) );
+ cerr << now << endl << endl;
+
cerr << "Need backing up..." << endl;
cerr << " Added Bytes: " << added_bytes << endl;
cerr << " Added Blocks: " << added_blocks << endl;
cerr << "Need backing up..." << endl;
cerr << " Added Bytes: " << added_bytes << endl;
cerr << " Added Blocks: " << added_blocks << endl;