diff --git a/commands.cpp b/commands.cpp index 342ba15..c9a6165 100644 --- a/commands.cpp +++ b/commands.cpp @@ -1069,6 +1069,9 @@ int add_gpg_user (int argc, const char** argv) const std::string state_gitattributes_path(state_path + "/.gitattributes"); if (access(state_gitattributes_path.c_str(), F_OK) != 0) { std::ofstream state_gitattributes_file(state_gitattributes_path.c_str()); + // |--------------------------------------------------------------------------------| 80 chars + state_gitattributes_file << "# Do not edit this file. To specify the files to encrypt, create your own\"; + state_gitattributes_file << "# .gitattributes file in the directory where your files are.\n"; state_gitattributes_file << "* !filter !diff\n"; state_gitattributes_file.close(); if (!state_gitattributes_file) {