Skip to contentSkip to conversation

git bundle magic, and other questions

DISCUSSION Jakub Narebski 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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?

Signature · 2 lines
Jakub Narebski
Poland
#1 lore raw

Jakub Narebski, Sat, Nov 24, 2007 00:33:54 +0100:

Quoted 4 lines

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