Re: git bundle magic, and other questions
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Nov 24, 2007, 11:17 UTC
- Message-ID
- <20071124111732.GA2948@steel.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";