# git bundle magic, and other questions

2 messages from 2007-11-23 to 2007-11-24. Participants: Jakub Narebski, Alex Riesen.
Thread: https://gitlist.dev/t/10998

## Jakub Narebski, 2007-11-23 23:33

Subject: git bundle magic, and other questions
Message-ID: <200711240033.54953.jnareb@gmail.com>
URL: https://gitlist.dev/e/200711240033.54953.jnareb%40gmail.com

```
Do there exists some agreed upon common extension for git-bundle, or is 
it just *.bundle (like *.patch)? Do bundles use some magic identifier;
can I add something (and what) to the 'magic' file, so "file <bundle>"
would return "git bundle data" (or equivalent)?

Can I view contents of bundle in gitk or qgit, or giggle?

-- 
Jakub Narebski
Poland

```

## Alex Riesen, 2007-11-24 11:17

Subject: Re: git bundle magic, and other questions
Message-ID: <20071124111732.GA2948@steel.home>
URL: https://gitlist.dev/e/20071124111732.GA2948%40steel.home
In-Reply-To: <200711240033.54953.jnareb@gmail.com>

```
Jakub Narebski, Sat, Nov 24, 2007 00:33:54 +0100:
> Do there exists some agreed upon common extension for git-bundle, or is 
> it just *.bundle (like *.patch)? Do bundles use some magic identifier;
> can I add something (and what) to the 'magic' file, so "file <bundle>"
> would return "git bundle data" (or equivalent)?

Look into bundle.c:

    static const char bundle_signature[] = "# v2 git bundle\n";

```
