summaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorLibravatar Heiko Voigt <hvoigt@hvoigt.net>2011-08-03 20:06:17 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-08-03 11:44:23 -0700
commite9e0643fe64b613b6596b79b59df8ff10746f1a1 (patch)
tree8395dbd8b978a9f77c295c64f2371874e8c2897a /Documentation/technical
parentgitattributes: Reword "attribute macro" to "macro attribute" (diff)
downloadtgif-e9e0643fe64b613b6596b79b59df8ff10746f1a1.tar.xz
add gitignore entry to description about how to write a builtin
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical')
-rw-r--r--Documentation/technical/api-builtin.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/technical/api-builtin.txt b/Documentation/technical/api-builtin.txt
index 5cb2b0590a..b0cafe87be 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
------------------------