From e9e0643fe64b613b6596b79b59df8ff10746f1a1 Mon Sep 17 00:00:00 2001 From: Heiko Voigt Date: Wed, 3 Aug 2011 20:06:17 +0200 Subject: [PATCH] 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 Signed-off-by: Junio C Hamano --- Documentation/technical/api-builtin.txt | 2 ++ 1 file changed, 2 insertions(+) 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 ------------------------ -- GitLab