# git repo in a single file

3 messages from 2012-03-17 to 2012-03-17. Participants: Enrico Weigelt, Vincent van Ravesteijn, Jakub Narebski.
Thread: https://gitlist.dev/t/29981

## Enrico Weigelt, 2012-03-17 15:54

Subject: git repo in a single file
Message-ID: <20120317155445.GA18712@mailgate.onlinehome-server.info>
URL: https://gitlist.dev/e/20120317155445.GA18712%40mailgate.onlinehome-server.info

```

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, 2012-03-17 16:13

Subject: Re: git repo in a single file
Message-ID: <4F64B80D.4000308@lyx.org>
URL: https://gitlist.dev/e/4F64B80D.4000308%40lyx.org
In-Reply-To: <20120317155445.GA18712@mailgate.onlinehome-server.info>

```
Op 17-3-2012 16:54, Enrico Weigelt schreef:
> 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, 2012-03-17 16:48

Subject: Re: git repo in a single file
Message-ID: <m3bonvkwda.fsf@localhost.localdomain>
URL: https://gitlist.dev/e/m3bonvkwda.fsf%40localhost.localdomain
In-Reply-To: <20120317155445.GA18712@mailgate.onlinehome-server.info>

```
Enrico Weigelt <weigelt@metux.de> writes:

> 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

```
