Re: How to manage parameter files and code separately using git?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 2, 2010, 15:52 UTC
- Message-ID
- <7vmxwiuwr5.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <op.vb2ms4r8a8ed4e@dellschleppa>
"Tilo Schwarz" <tilo@tilo-schwarz.de> writes:
> I see. So if I want parameter file history the only proper solution is to > have a separate parameter file git repo, right?
I wouldn't say it is "the" "only" proper solution, but under your design constraint that dictates that the part that is left in "config" (which includes the tracked-and-tied-to-the-software-version "config.sample") must have a history that is independent from the software history, it is one workable solution that would be the easiest. I can imagine a more elaborate implementation that stores the history of that config file on a separate branch in the same repository and manipulate that file with custom scripts, and that also would be another workable solution.