git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Kris Shannon <kris@shannon.id.au>
To: Git Mailing List <git@vger.kernel.org>
Subject: Problem with git bundle creation
Date: Wed, 13 Oct 2010 12:58:20 +1100	[thread overview]
Message-ID: <AANLkTimsMgsuiS4iT2z_ggD8t0V9xj7ezwxRHk9WgaOw@mail.gmail.com> (raw)

git clone git://github.com/freenet/fred-official.git
git bundle create bad.gitbundle -1 build01194
head -2 bad.gitbundle

Problem manifested by a commit message which happens to have a hyphen
in just the wrong place such that git rev-list --boundary
--pretty=oneline has a line which exceeds the 1024 buffer limit that
git bundle is using for reading and happens to read in the rest of the
commit messsage as a boundary commit.

git bundle should probably be checking that the fgets buffer actually
ends in a newline and if it doesn't then slurp in more until it does
(probably discarding it in the process)

             reply	other threads:[~2010-10-13  1:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13  1:58 Kris Shannon [this message]
2010-10-15 16:52 ` Problem with git bundle creation Jonathan Nieder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimsMgsuiS4iT2z_ggD8t0V9xj7ezwxRHk9WgaOw@mail.gmail.com \
    --to=kris@shannon.id.au \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).