git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Is there a way to have a local version of a header file?
@ 2017-03-18 14:29 David Lang
  2017-03-18 14:48 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 11+ messages in thread
From: David Lang @ 2017-03-18 14:29 UTC (permalink / raw)
  To: git

for an embedded project built inside the Arduino IDE, (alternate firmware for a 
home automation project) there is a need to set a number of parameters that we 
really don't want in the main repo (wifi network IDs/passwords)

right now, we have these things set as #defines in a header file.

We need to distribute a base version of this file for new people to get started.

Is there any way to have git define a file in such a way that if it doesn't 
exist in the worktree it gets populated, but if it does exist it doesn't get 
overwritten? (as I type this, I'm thinking a trigger may work, but we need it to 
work on Linux, Windows and OSX)

Any thoughts on a sane way to handle this situation?

David Lang

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-03-19 21:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-18 14:29 Is there a way to have a local version of a header file? David Lang
2017-03-18 14:48 ` Ævar Arnfjörð Bjarmason
2017-03-18 14:58   ` David Lang
2017-03-18 17:08     ` Ævar Arnfjörð Bjarmason
2017-03-18 18:05       ` Junio C Hamano
2017-03-18 22:40         ` David Lang
2017-03-18 23:11           ` Junio C Hamano
2017-03-18 23:22             ` Samuel Lijin
2017-03-19 21:33               ` Johannes Sixt
2017-03-19  0:19             ` David Lang
2017-03-18 18:21       ` Jakub Narębski

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).