Re: [PATCH v3] tag: support --sort=<spec>
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 25, 2014, 17:42 UTC
- Message-ID
- <xmqqa9df6qcj.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <1393330935-22229-1-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
> versioncmp() is copied from string/strverscmp.c in glibc commit > ee9247c38a8def24a59eb5cfb7196a98bef8cfdc, reformatted to Git coding > style. The implementation is under LGPL-2.1 and according to [1] I can > relicense it to GPLv2.
I'd propose this trivial change squashed in to record the above in the file in question.
Thanks.
diff --git a/versioncmp.c b/versioncmp.c index 18a9632..8f5a388 100644 --- a/versioncmp.c +++ b/versioncmp.c @@ -1,6 +1,13 @@ #include "git-compat-util.h" /* + * versioncmp(): copied from string/strverscmp.c in glibc commit + * ee9247c38a8def24a59eb5cfb7196a98bef8cfdc, reformatted to Git coding + * style. The implementation is under LGPL-2.1 and Git relicenses it + * to GPLv2. + */ + +/* * states: S_N: normal, S_I: comparing integral part, S_F: comparing * fractionnal parts, S_Z: idem but with leading Zeroes only */