[PATCH 0/2] test bundle --stdin, fix objects_array_remove_duplicates()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jonathan Nieder
Date: Monday, April 19, 2010 - 12:14 am

This series does not make ‘git bundle --stdin’ work.  In fact,
the bug that it does fix would not be visible if bundle --stdin
worked as it was supposed to.

Instead, this fixes a segfault that the bug triggers.  The
patches have been sitting in my git tree for a while.  They fix
a real problem regardless, and maybe they would help someone
to get bundle --stdin working properly.

Thoughts welcome, as always.
Jonathan Nieder (2):
  t5704 (bundle): add tests for bundle --stdin
  fix "bundle --stdin" segfault

 object.c          |    4 ++--
 t/t5704-bundle.sh |   16 ++++++++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)

As for how to fix bundle --stdin, Joey Hess wrote:


and Johannes Schindelin suggested slurping up the input and explicitly
using it twice, or:

[...]

Dscho’s full message is pretty helpful:
http://thread.gmane.org/gmane.comp.version-control.git/137414/focus=137503
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
bug: git-bundle create foo --stdin -> segfault, Joey Hess, (Mon Jan 18, 5:26 pm)
Re: bug: git-bundle create foo --stdin -> segfault, Johannes Schindelin, (Tue Jan 19, 4:52 pm)
[PATCH 0/2] test bundle --stdin, fix objects_array_remove_ ..., Jonathan Nieder, (Mon Apr 19, 12:14 am)
[PATCH 1/2] t5704 (bundle): add tests for bundle --stdin, Jonathan Nieder, (Mon Apr 19, 1:03 am)
[PATCH 2/2] fix "bundle --stdin" segfault, Jonathan Nieder, (Mon Apr 19, 1:03 am)
[PATCH 2/8] bundle: use libified rev-list --boundary, Jonathan Nieder, (Fri Jun 25, 11:20 pm)
[PATCH 5/8] bundle: reuse setup_revisions result, Jonathan Nieder, (Fri Jun 25, 11:22 pm)
[PATCH 6/8] Fix bundle --stdin, Jonathan Nieder, (Fri Jun 25, 11:28 pm)
[PATCH 8/8] bundle_create: Do not exit when given no revs ..., Jonathan Nieder, (Fri Jun 25, 11:31 pm)
Re: [PATCH 2/8] bundle: use libified rev-list --boundary, Junio C Hamano, (Wed Jun 30, 10:57 am)
Re: [PATCH 2/8] bundle: use libified rev-list --boundary, Jonathan Nieder, (Wed Jun 30, 1:34 pm)