<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin/bundle.c, branch v2.6.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.6.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.6.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-05-08T17:52:11Z</updated>
<entry>
<title>bundle: verify arguments more strictly</title>
<updated>2015-05-08T17:52:11Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2015-05-08T08:02:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7886cfa08054046a7a82726be4b8c109b2ba1344'/>
<id>urn:sha1:7886cfa08054046a7a82726be4b8c109b2ba1344</id>
<content type='text'>
The `verify` and `create` subcommands of the bundle builtin do
not properly verify the command line arguments that have been
passed in. While the `verify` subcommand accepts an arbitrary
amount of ignored arguments the `create` subcommand does not
complain about being passed too few arguments, resulting in a
bogus call to `git rev-list`. Fix these errors by verifying that
the correct amount of arguments has been passed in.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Acked-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Teach progress eye-candy to fetch_refs_from_bundle()</title>
<updated>2011-09-19T18:07:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-09-18T23:52:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=be042aff24c8a17565934874f5d2eebd77ab2562'/>
<id>urn:sha1:be042aff24c8a17565934874f5d2eebd77ab2562</id>
<content type='text'>
With the usual "git" transport, a large-ish transfer with "git fetch" and
"git pull" give progress eye-candy to avoid boring users.  However, not
when they are reading from a bundle. I.e.

    $ git pull ../git-bundle.bndl master

This teaches bundle.c:unbundle() to give "-v" option to index-pack and
tell it to give progress bar when transport decides it is necessary.

The operation in the other direction, "git bundle create", could also
learn to honor --quiet but that is a separate issue.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>i18n: git-bundle basic messages</title>
<updated>2011-03-10T07:52:57Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2011-02-22T23:42:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c7c4efacf1ea100ac1cd5c2f33d1b6d342b39325'/>
<id>urn:sha1:c7c4efacf1ea100ac1cd5c2f33d1b6d342b39325</id>
<content type='text'>
Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Use angles for placeholders consistently</title>
<updated>2010-10-08T19:29:52Z</updated>
<author>
<name>Štěpán Němec</name>
<email>stepan.nemec@gmail.com</email>
</author>
<published>2010-10-08T17:31:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=62b4698e551c29b3d2539a764ad0e93cfff53c03'/>
<id>urn:sha1:62b4698e551c29b3d2539a764ad0e93cfff53c03</id>
<content type='text'>
Signed-off-by: Štěpán Němec &lt;stepnem@gmail.com&gt;
Acked-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bundle: run setup_git_directory_gently() sooner</title>
<updated>2010-08-16T02:57:33Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2010-08-06T03:12:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2cb60093e6c6b53cfc8ffe75f697386a1adab778'/>
<id>urn:sha1:2cb60093e6c6b53cfc8ffe75f697386a1adab778</id>
<content type='text'>
Without this change, “git -p bundle” does not always
respect the repository-local “[core] pager” setting.

It is hard to notice because subcommands other than
“git bundle unbundle” do not produce much output.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Move 'builtin-*' into a 'builtin/' subdirectory</title>
<updated>2010-02-22T22:29:41Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2010-02-22T16:42:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=81b50f3ce40bfdd66e5d967bf82be001039a9a98'/>
<id>urn:sha1:81b50f3ce40bfdd66e5d967bf82be001039a9a98</id>
<content type='text'>
This shrinks the top-level directory a bit, and makes it much more
pleasant to use auto-completion on the thing. Instead of

	[torvalds@nehalem git]$ em buil&lt;tab&gt;
	Display all 180 possibilities? (y or n)
	[torvalds@nehalem git]$ em builtin-sh
	builtin-shortlog.c     builtin-show-branch.c  builtin-show-ref.c
	builtin-shortlog.o     builtin-show-branch.o  builtin-show-ref.o
	[torvalds@nehalem git]$ em builtin-shor&lt;tab&gt;
	builtin-shortlog.c  builtin-shortlog.o
	[torvalds@nehalem git]$ em builtin-shortlog.c

you get

	[torvalds@nehalem git]$ em buil&lt;tab&gt;		[type]
	builtin/   builtin.h
	[torvalds@nehalem git]$ em builtin		[auto-completes to]
	[torvalds@nehalem git]$ em builtin/sh&lt;tab&gt;	[type]
	shortlog.c     shortlog.o     show-branch.c  show-branch.o  show-ref.c     show-ref.o
	[torvalds@nehalem git]$ em builtin/sho		[auto-completes to]
	[torvalds@nehalem git]$ em builtin/shor&lt;tab&gt;	[type]
	shortlog.c  shortlog.o
	[torvalds@nehalem git]$ em builtin/shortlog.c

which doesn't seem all that different, but not having that annoying
break in "Display all 180 possibilities?" is quite a relief.

NOTE! If you do this in a clean tree (no object files etc), or using an
editor that has auto-completion rules that ignores '*.o' files, you
won't see that annoying 'Display all 180 possibilities?' message - it
will just show the choices instead.  I think bash has some cut-off
around 100 choices or something.

So the reason I see this is that I'm using an odd editory, and thus
don't have the rules to cut down on auto-completion.  But you can
simulate that by using 'ls' instead, or something similar.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
