Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] vcs_info git: fix applied patch detection on git am
- X-seq: zsh-workers 33402
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: Marc Finet <m.dreadlock@xxxxxxxxx>
- Subject: Re: [PATCH] vcs_info git: fix applied patch detection on git am
- Date: Thu, 09 Oct 2014 17:05:52 +0200
- Cc: zsh-workers@xxxxxxx
- In-reply-to: <20141009002445.7d6c82a5@mlap.lactee> (Marc Finet's message of "Thu, 9 Oct 2014 00:24:45 +0200")
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20141009002445.7d6c82a5@mlap.lactee>
Marc Finet wrote:
> git-am also uses .git/rebase-apply for patch list but
> the file original-commit does not exist (as no commit exist).
> This patch handles both git rebase and git am. Also:
> - get the first line (rather than the first char) when the message
> contains only one line;
> - remove unused function (ironically that should have been used here).
This looks fine. Mikael has a point, but that should probably be
attached everywhere in vcs_info.
Regards, Frank
Messages sorted by:
Reverse Date,
Date,
Thread,
Author