Review at  https://gerrit.osmocom.org/7313

gitignore */*.cc and */*.hh

ttcn3 creates these files, and they clutter 'git status' output.

The first patch explicitly ignored all *.cc and *.hh that we know are created
by ttcn; while I still think that would be the best way, here is an alternative
solution suggested by review comments:

Ignore all .cc and .hh.

Files already under version control are not affected by .gitignore (i.e. no
whitelist needed).

This will ignore all manually added .cc and .hh. If anyone adds .cc or .hh
files manually, they now have to take care to not forget to 'git add' them,
since 'git status' will no longer list un-added *.cc and *.hh files.

Change-Id: I6b7868ae71d3d3e710232b22a964f701ae8bd05d
---
M .gitignore
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/13/7313/1

diff --git a/.gitignore b/.gitignore
index cc06c3c..9776e94 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,8 @@
-bin/*.cc
-bin/*.hh
 deps/*/
 *.o
 *.log
 *.so
 compile
 */.gitignore
+*/*.cc
+*/*.hh

-- 
To view, visit https://gerrit.osmocom.org/7313
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6b7868ae71d3d3e710232b22a964f701ae8bd05d
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <[email protected]>

Reply via email to