{"thread":{"id":"45170","subject":"[PATCH] Document dotfiles exclusion on template copy","startedAt":"2017-02-17T23:28:39Z","lastAt":"2017-02-17T23:33:01Z","messageCount":2,"participants":["Grégoire Paris","Grégoire PARIS"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"311978","messageId":"20170217232748.13164-1-postmaster@greg0ire.fr","threadId":"45170","inReplyTo":null,"subject":"[PATCH] Document dotfiles exclusion on template copy","fromName":"Grégoire Paris","fromEmail":"gregoire.paris.greg0ire@gmail.com","sentAt":"2017-02-17T23:27:48Z","receivedAt":"2017-02-17T23:28:39Z","isPatch":true,"sender":{"key":"gregoire.paris.greg0ire@gmail.com","avatar":null},"body":"Since there is no dotfile in the default template directory, there was\nno point in making the check for . or .. more accurate when copying. Now\nthat you can customize the template directory, it would make sense, but\nit's actually a good thing to at this because you would not want to have\nyour git directory copied in every git directory that is created should\nyou decide to put your template directory under version control. Plus, it\nmight be used as a feature by people who would want to exclude some\nfiles.\n\nSigned-off-by: Grégoire Paris <postmaster@greg0ire.fr>\n---\nI hope I'm getting it right, this is my first time using format-patch and\nsend-email…\n Documentation/git-init.txt | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/git-init.txt b/Documentation/git-init.txt\nindex 9d27197..7605742 100644\n--- a/Documentation/git-init.txt\n+++ b/Documentation/git-init.txt\n@@ -116,8 +116,8 @@ does not exist, it will be created.\n TEMPLATE DIRECTORY\n ------------------\n \n-The template directory contains files and directories that will be copied to\n-the `$GIT_DIR` after it is created.\n+The template directory contains files and directories whose name do not start\n+with a dot will be copied to the `$GIT_DIR` after it is created.\n \n The template directory will be one of the following (in order):\n \n-- \n2.9.3\n\n"},{"id":"311980","messageId":"e5e55478-af1a-5886-519a-2e11f60950b6@greg0ire.fr","threadId":"45170","inReplyTo":"20170217232748.13164-1-postmaster@greg0ire.fr","subject":"Re: [PATCH] Document dotfiles exclusion on template copy","fromName":"Grégoire PARIS","fromEmail":"postmaster@greg0ire.fr","sentAt":"2017-02-17T23:32:44Z","receivedAt":"2017-02-17T23:33:01Z","isPatch":true,"sender":{"key":"postmaster@greg0ire.fr","avatar":"https://avatars.githubusercontent.com/u/657779?v=4"},"body":"\n\n>   \n> -The template directory contains files and directories that will be copied to\n> -the `$GIT_DIR` after it is created.\n> +The template directory contains files and directories whose name do not start\n> +with a dot will be copied to the `$GIT_DIR` after it is created.\n>   \n>   The template directory will be one of the following (in order):\n>   \nThis sentence does not make any sense, I realize that now.\n"}]}