From: Bert Wesarg <bert.wesarg@googlemail.com>
To: "Henrik Grubbström (Grubba)" <grubba@grubba.org>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 3/4] convert: Inhibit contraction of foreign $Id$ during stats.
Date: Mon, 15 Mar 2010 16:42:48 +0100 [thread overview]
Message-ID: <36ca99e91003150842q6a39a48dl2e88254fd636556d@mail.gmail.com> (raw)
In-Reply-To: <baa3d958d4885348d3d5a4c30305fce0f026d85c.1268664693.git.grubba@grubba.org>
2010/3/15 Henrik Grubbström (Grubba) <grubba@grubba.org>:
> diff --git a/builtin/apply.c b/builtin/apply.c
> index 3af4ae0..25adef8 100644
> --- a/builtin/apply.c
> +++ b/builtin/apply.c
> @@ -1759,7 +1759,7 @@ static int read_old_data(struct stat *st, const char *path, struct strbuf *buf)
> case S_IFREG:
> if (strbuf_read_file(buf, path, st->st_size) != st->st_size)
> return error("unable to open or read %s", path);
> - convert_to_git(path, buf->buf, buf->len, buf, 0);
> + convert_to_git(path, buf->buf, buf->len, buf, 0, 0);
So this new 0 should be ...
> return 0;
> default:
> return -1;
> diff --git a/builtin/blame.c b/builtin/blame.c
> index fc15863..16f7f00 100644
> --- a/builtin/blame.c
> +++ b/builtin/blame.c
> @@ -2050,7 +2050,7 @@ static struct commit *fake_working_tree_commit(const char *path, const char *con
> if (strbuf_read(&buf, 0, 0) < 0)
> die_errno("failed to read from stdin");
> }
> - convert_to_git(path, buf.buf, buf.len, &buf, 0);
> + convert_to_git(path, buf.buf, buf.len, &buf, 0, 0);
... (and this one too) ...
> origin->file.ptr = buf.buf;
> origin->file.size = buf.len;
> pretend_sha1_file(buf.buf, buf.len, OBJ_BLOB, origin->blob_sha1);
> diff --git a/cache.h b/cache.h
> index 89f6a40..b62c462 100644
> --- a/cache.h
> +++ b/cache.h
> @@ -556,6 +556,11 @@ enum safe_crlf {
> SAFE_CRLF_WARN = 2,
> };
>
> +enum ident_mode {
> + IDENT_MODE_FALSE = 0,
... this?
> + IDENT_MODE_KEEP_FOREIGN = 1,
> +};
> +
> extern enum safe_crlf safe_crlf;
>
> enum branch_track {
next prev parent reply other threads:[~2010-03-15 15:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-15 15:30 [PATCH 0/4] ident attribute related patches (resend w/ testsuite) Henrik Grubbström (Grubba)
2010-03-15 15:30 ` [PATCH 1/4] convert: Safer handling of $Id$ contraction Henrik Grubbström (Grubba)
2010-03-15 15:30 ` [PATCH 2/4] convert: Keep foreign $Id$ on checkout Henrik Grubbström (Grubba)
2010-03-15 15:30 ` [PATCH 3/4] convert: Inhibit contraction of foreign $Id$ during stats Henrik Grubbström (Grubba)
2010-03-15 15:30 ` [PATCH 4/4] convert: Added core.refilteronadd feature Henrik Grubbström (Grubba)
2010-03-15 15:42 ` Bert Wesarg [this message]
2010-03-15 18:32 ` [PATCH 3/4] convert: Inhibit contraction of foreign $Id$ during stats Henrik Grubbström
2010-03-15 15:39 ` [PATCH 1/4] convert: Safer handling of $Id$ contraction Bert Wesarg
2010-03-15 18:21 ` Henrik Grubbström
2010-03-15 18:16 ` René Scharfe
-- strict thread matches above, loose matches on Subject: below --
2010-03-01 16:16 Henrik Grubbström
2010-03-01 16:16 ` [PATCH 2/4] convert: Keep foreign $Id$ on checkout Henrik Grubbström
2010-03-01 16:16 ` [PATCH 3/4] convert: Inhibit contraction of foreign $Id$ during stats Henrik Grubbström
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36ca99e91003150842q6a39a48dl2e88254fd636556d@mail.gmail.com \
--to=bert.wesarg@googlemail.com \
--cc=git@vger.kernel.org \
--cc=grubba@grubba.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.
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 NNTP newsgroup(s).