threads / discuss / 10998

git bundle magic, and other questions

Subject: git bundle magic, and other questions

## tl;dr

2 messages between Nov 23, 2007 and Nov 24, 2007.

replies: 1people: 2as markdown or json

Jakub Narebski· Nov 23, 2007, 23:33 UTC · lore

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· Nov 24, 2007, 11:17 UTC · re: Jakub Narebski · lore

Re: git bundle magic, and other questions

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";

← back to recent threads