threads / patch / 28012

patchadd gitignore entry to description about how to write a builtin

Subject: [PATCH] add gitignore entry to description about how to write a builtin

## tl;dr

One message between Aug 3, 2011 and Aug 3, 2011. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Heiko Voigt· Aug 3, 2011, 18:06 UTC · lore

If the author forgets the gitignore entry the built result will show up as new file in the git working directory.

Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
---
 Documentation/technical/api-builtin.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Show changes to Documentation/technical/api-builtin.txt +2 −0
diff --git a/Documentation/technical/api-builtin.txt b/Documentation/technical/api-builtin.txt
index 5cb2b05..b0cafe8 100644
--- a/Documentation/technical/api-builtin.txt
+++ b/Documentation/technical/api-builtin.txt
@@ -49,6 +49,8 @@ Additionally, if `foo` is a new command, there are 3 more things to do:
 
 . Add an entry for `git-foo` to `command-list.txt`.
 
+. Add an entry for `/git-foo` to `.gitignore`.
+
 
 How a built-in is called
 ------------------------
-- 
1.7.6.353.g02057.dirty

← back to recent threads