From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Oakley Subject: [PATCHv2 5/8] Doc: separate gitignore pattern sources Date: Wed, 19 Sep 2012 00:25:31 +0100 Message-ID: <1348010734-664-6-git-send-email-philipoakley@iee.org> To: gitList X-From: git-owner@vger.kernel.org Wed Sep 19 01:25:25 2012 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TE7AR-0005Mu-JK for gcvg-git-2@plane.gmane.org; Wed, 19 Sep 2012 01:25:23 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753429Ab2IRXZG (ORCPT ); Tue, 18 Sep 2012 19:25:06 -0400 Received: from out1.ip07ir2.opaltelecom.net ([62.24.128.243]:25999 "EHLO out1.ip07ir2.opaltelecom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751666Ab2IRXYr (ORCPT ); Tue, 18 Sep 2012 19:24:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAMwBWVBZ8rU+/2dsb2JhbABFhSC3IYEJgn07gQIkE4gEmQmhTosdhm4DpgSCZ4FZIw X-IronPort-AV: E=Sophos;i="4.80,445,1344207600"; d="scan'208";a="47757875" Received: from host-89-242-181-62.as13285.net (HELO localhost) ([89.242.181.62]) by out1.ip07ir2.opaltelecom.net with ESMTP; 19 Sep 2012 00:24:45 +0100 X-Mailer: git-send-email 1.7.8.msysgit.0 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Use separate bulleted paragraphs for the three different gitignore pattern sources. Signed-off-by: Philip Oakley diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt index c1f692a..96639e0 100644 --- a/Documentation/gitignore.txt +++ b/Documentation/gitignore.txt @@ -41,18 +41,24 @@ precedence, the last matching pattern decides the outcome): variable 'core.excludesfile'. Which file to place a pattern in depends on how the pattern is meant to -be used. Patterns which should be version-controlled and distributed to -other repositories via clone (i.e., files that all developers will want -to ignore) should go into a `.gitignore` file. Patterns which are -specific to a particular repository but which do not need to be shared -with other related repositories (e.g., auxiliary files that live inside -the repository but are specific to one user's workflow) should go into -the `$GIT_DIR/info/exclude` file. Patterns which a user wants git to -ignore in all situations (e.g., backup or temporary files generated by -the user's editor of choice) generally go into a file specified by -`core.excludesfile` in the user's `~/.gitconfig`. Its default value is -$XDG_CONFIG_HOME/git/ignore. If $XDG_CONFIG_HOME is either not set or empty, -$HOME/.config/git/ignore is used instead. +be used. + + * Patterns which should be version-controlled and distributed to + other repositories via clone (i.e., files that all developers will want + to ignore) should go into a `.gitignore` file. + + * Patterns which are + specific to a particular repository but which do not need to be shared + with other related repositories (e.g., auxiliary files that live inside + the repository but are specific to one user's workflow) should go into + the `$GIT_DIR/info/exclude` file. + + * Patterns which a user wants git to + ignore in all situations (e.g., backup or temporary files generated by + the user's editor of choice) generally go into a file specified by + `core.excludesfile` in the user's `~/.gitconfig`. Its default value is + $XDG_CONFIG_HOME/git/ignore. If $XDG_CONFIG_HOME is either not set or + empty, $HOME/.config/git/ignore is used instead. The underlying git plumbing tools, such as 'git ls-files' and 'git read-tree', read -- 1.7.8.msysgit.0