Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion: git: --fixup: problem with _describe -2V and duplicate commit subjects
- X-seq: zsh-workers 35097
- From: Daniel Hahler <genml+zsh-workers@xxxxxxxxxx>
- To: Zsh Hackers' List <zsh-workers@xxxxxxx>
- Subject: Re: completion: git: --fixup: problem with _describe -2V and duplicate commit subjects
- Date: Wed, 13 May 2015 14:44:49 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thequod.de; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id:received:received; s=postfix2; t= 1431521089; bh=amg/XtEicobXkuCygIznipgwhKABIpUZPRVA+OOmF7c=; b=n iufhmZDGHfZPuKNoX6Vw+kP3U043OCXrBHN3ADVXkpH5sOPiSh2I3KDqMYHis740 Jvd42oz3TaH7ByyLCsBSNs4nguQaHk4HWLNSISn+JFj6X7YTrTkAyoiziD/hZgNk BUCLg3QDmcXSbl2iiYT8kjqeJ72oP3l+9OCW6b2yHA=
- In-reply-to: <20150329054753.GA2766@tarsus.local2>
- 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: <20150329054753.GA2766@tarsus.local2>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 29.03.2015 07:47, Daniel Shahaf wrote:
> We can of course add the date still, as you suggested; I just think if
> we add the date it should be because the date is useful, not because it
> uniquifies, since adding the hash is a better uniquifier.
I still like the date idea, especially for the recent commits.
I think using "%cr" for the relative committer date, after the subject is good.
It would not make it unique, but only add information.
I think for uniqueness, the "HEAD~15" gitrevisions(7) identifier would be useful
(instead of the hash).
I will post some patch(es) later in this regard.
Regards,
Daniel.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iD8DBQFVU0dAfAK/hT/mPgARAuG3AKCPP/naiQiqWxXbyrzQWh2jPKr8ewCgtTIi
WBInG/ASy3DqR0Jfir6Ru8o=
=rCF5
-----END PGP SIGNATURE-----
Messages sorted by:
Reverse Date,
Date,
Thread,
Author