[PATCH 1/1] git: update for git 2.0

Christian Hesse list at eworm.de
Sun May 4 21:34:50 CEST 2014


Christian Hesse <mail at eworm.de> on Sun, 2014/05/04 21:31:
> prefixcmp() and suffixcmp() have been remove, functionality is now
> provided by starts_with() and ends_with(). Retrurn values have been
> changed, so instead of just renaming we have to fix logic.
> Everything else looks just fine.
> ---
>  Makefile      |  4 ++--
>  cgit.c        | 26 +++++++++++++-------------
>  git           |  2 +-
>  parsing.c     | 12 ++++++------
>  scan-tree.c   | 10 +++++++---
>  ui-clone.c    |  2 +-
>  ui-log.c      |  8 ++++----
>  ui-refs.c     |  6 +++---
>  ui-repolist.c |  2 +-
>  ui-shared.c   |  2 +-
>  ui-snapshot.c |  4 ++--
>  ui-summary.c  |  2 +-
>  12 files changed, 42 insertions(+), 38 deletions(-)

Feel free to ignore this for now. I will update the patch for git 2.0 if it
has not been merged then. Probably API will not change until release.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140504/577508a0/attachment.asc>


More information about the CGit mailing list