On 07/11/17 03:02, Johannes Schindelin wrote:
> Hi Junio,
>
> On Tue, 7 Nov 2017, Junio C Hamano wrote:
>
>> Phillip Wood writes:
>>
>>> @@ -751,6 +751,42 @@ int template_untouched(const struct strbuf *sb, const
>>> char *template_file,
>>> return
Hi Junio,
On Tue, 7 Nov 2017, Junio C Hamano wrote:
> Phillip Wood writes:
>
> > @@ -751,6 +751,42 @@ int template_untouched(const struct strbuf *sb, const
> > char *template_file,
> > return rest_is_empty(sb, start - sb->buf);
> > }
> >
> > +int
Phillip Wood writes:
> @@ -1735,25 +1733,10 @@ int cmd_commit(int argc, const char **argv, const
> char *prefix)
> strbuf_release(_ident);
> free_commit_extra_headers(extra);
>
> - nl = strchr(sb.buf, '\n');
> - if (nl)
> -
From: Phillip Wood
Add update_head() based on the code that updates HEAD after committing
in builtin/commit.c that can be called by 'git commit' and other
commands.
Signed-off-by: Phillip Wood
---
builtin/commit.c | 19
4 matches
Mail list logo