threads / discuss / 29981

git repo in a single file

Subject: git repo in a single file

## tl;dr

3 messages between Mar 17, 2012 and Mar 17, 2012.

replies: 2people: 3as markdown or json

Enrico Weigelt· Mar 17, 2012, 15:54 UTC · lore
Hi folks,

in several discussion with people eg. on office software fronts, I've seen the value of having an git repo in one file. For example, an office document, internally consisting of several files (like ODF) could be put into an git repo instead of zip. That would give a good basis for things like versioning, etc.

IMHO, zip (without compression) could even serve as container.
What do you think about this idea ?
cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt@metux.de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
Vincent van Ravesteijn· Mar 17, 2012, 16:13 UTC · re: Enrico Weigelt · lore

Re: git repo in a single file

Op 17-3-2012 16:54, Enrico Weigelt schreef:
Show 15 quoted lines
> Hi folks,
>
>
> in several discussion with people eg. on office software fronts,
> I've seen the value of having an git repo in one file. For example,
> an office document, internally consisting of several files (like
> ODF) could be put into an git repo instead of zip. That would
> give a good basis for things like versioning, etc.
>
> IMHO, zip (without compression) could even serve as container.
>
> What do you think about this idea ?
>
>
> cu
We have had the same idea before to implement this for our software.
Vincent
Jakub Narebski· Mar 17, 2012, 16:48 UTC · re: Enrico Weigelt · lore

Re: git repo in a single file

Enrico Weigelt <weigelt@metux.de> writes:
Show 5 quoted lines
> in several discussion with people eg. on office software fronts,
> I've seen the value of having an git repo in one file. For example,
> an office document, internally consisting of several files (like
> ODF) could be put into an git repo instead of zip. That would
> give a good basis for things like versioning, etc.

There is something like that in the form of git-bundle. Perhaps it could be (ab)used to what you want.

-- 
Jakub Narebski

← back to recent threads