git bundle magic, and other questions

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

git bundle magic, and other questions

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:43:53

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

Re: git bundle magic, and other questions

From: Alex Riesen <hidden>
Date: 2016-06-15 22:43:53

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";
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help