git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Documentation: correct typo in example

From
Stefan Beller <sbeller@google.com>
Date
May 12, 2016, 21:30 UTC
Message-ID
<20160512213001.30822-1-sbeller@google.com>

The example want's to explain how 'To see how attributes "crlf" and "indent" are set for different paths.'

Spell the selected attribute correctly.
Signed-off-by: Stefan Beller <sbeller@google.com>
---
 Documentation/technical/api-gitattributes.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/technical/api-gitattributes.txt b/Documentation/technical/api-gitattributes.txt
index 2602668..0d7e98c 100644
--- a/Documentation/technical/api-gitattributes.txt
+++ b/Documentation/technical/api-gitattributes.txt
@@ -74,7 +74,7 @@ static void setup_check(void)
 	if (check[0].attr)
 		return; /* already done */
 	check[0].attr = git_attr("crlf");
-	check[1].attr = git_attr("ident");
+	check[1].attr = git_attr("indent");
 }
 ------------
 
-- 
2.8.2.397.g23dc3dd.dirty
Next: Junio C Hamano
Message 1 of 2 in “Documentation: correct typo in example”
  1. Documentation: correct typo in exampleStefan Beller, May 12, 2016
  2. Junio C HamanoMay 12, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.