Re: git bugs
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 12, 2008, 07:12 UTC
- Message-ID
- <alpine.DEB.1.00.0806120811440.1783@racer>
- In-Reply-To
- <20080612031723.GJ11793@spearce.org>
Hi,
On Wed, 11 Jun 2008, Shawn O. Pearce wrote:
Show 13 quoted lines
> diff --git a/builtin-fast-export.c b/builtin-fast-export.c
> index 1dfc01e..d0a462f 100644
> --- a/builtin-fast-export.c
> +++ b/builtin-fast-export.c
> @@ -188,6 +188,8 @@ static void handle_commit(struct commit *commit, struct rev_info *rev)
> mark_object(&commit->object);
> if (!is_encoding_utf8(encoding))
> reencoded = reencode_string(message, "UTF-8", encoding);
> + if (!commit->parents)
> + printf("reset %s\n", (const char*)commit->util);
> printf("commit %s\nmark :%d\n%.*s\n%.*s\ndata %u\n%s",
> (const char *)commit->util, last_idnum,
> (int)(author_end - author), author,Deemed-obviously-correct-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Ciao, Dscho