summary refs log tree commit diff
path: root/bin/bri.c
diff options
context:
space:
mode:
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
ogsubject'>configfile: fix EOF handlingJohn Keeping Currently we can end up passing EOF to isspace(), which is in fact libgit's sane_isspace which does: ((sane_ctype[(unsigned char)(x)] & (GIT_SPACE)) != 0) It is very unlikely that EOF cast to "unsigned char" will end up in a character that has the GIT_SPACE bit set, but the standard only requires that EOF be a negative integer, so it could access any value in the sane_ctype array. If it does end up returning true for isspace() then this loop will never terminate, so handle EOF as a special value in the same way as the other loops in this function. Signed-off-by: John Keeping <john@keeping.me.uk> 2016-09-04git: update to v2.10.0Christian Hesse Upstream continues to replace unsigned char *sha1 with struct object_id old_oid. This makes the required changes. The git lib has its own main function now. Rename our main function to cmd_main, it is called from main then. 2016-07-12Fix qry.head leak on errorRichard Maw This is run soon before exiting so it wasn't leaked for long. Signed-off-by: Richard Maw <richard.maw@gmail.com> 2016-07-12git: update to v2.9.1Christian Hesse Update to git version v2.9.1, no changes required. Signed-off-by: Christian Hesse <mail@eworm.de> 2016-07-06Link with -ldl on GNU/kFreeBSDPeter Colberg GNU/kFreeBSD uses the FreeBSD kernel with the GNU C library. Signed-off-by: Peter Colberg <peter@colberg.org> 2016-07-06Fix spelling in man pagePeter Colberg Signed-off-by: Peter Colberg <peter@colberg.org> 2016-07-06ui-shared: fix segfault when defbranch is NULLEric Wong Not sure if there's a better fix for this. defbranch is NULL here on my setup when a crawler hit an invalid URL, causing strcmp to segfault. Signed-off-by: Eric Wong <normalperson@yhbt.net> 2016-07-05css: consistent use of empty linesChristian Hesse Signed-off-by: Christian Hesse <mail@eworm.de> 2016-07-05ui-log: color line changesChristian Hesse Signed-off-by: Christian Hesse <mail@eworm.de> 2016-07-05Avoid ambiguities when prettifying snapshot namesLukas Fleischer When composing snapshot file names for a tag with a prefix of the form v[0-9] (resp. V[0-9]), the leading "v" (resp. "V") is stripped. This leads to conflicts if a tag with the stripped name already exists or if there are tags only differing in the capitalization of the leading "v". Make sure we do not strip the "v" in these cases. Reported-by: Juuso Lapinlampi <wub@partyvan.eu> Signed-off-by: Lukas Fleischer <lfleischer@lfos.de> 2016-06-17git: update to v2.9.0Christian Hesse Update to git version v2.9.0, no changes required. Signed-off-by: Christian Hesse <mail@eworm.de> 2016-06-17cgit.mk: Use $PKG_CONFIGKylie McClain PKG_CONFIG is a variable dictated by autoconf standards; it should be used if set. 2016-06-17md2html: use utf-8 and flush output bufferJason A. Donenfeld Otherwise we get the classic Python UTF-8 errors, and the text is all out of order. While we're at it, switch to python3 so we only have to support one set of oddball semantics. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Suggested-by: Daniel Campbell <dlcampbell@gmx.com> 2016-06-07Hosted on HTTPS nowJason A. Donenfeld 2016-06-07Bump version.Jason A. Donenfeld Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2016-05-20git: update to v2.8.3Christian Hesse Update to git version v2.8.3, no changes required. Signed-off-by: Christian Hesse <mail@eworm.de> 2016-05-12ui-diff: action='.' is not correctJason A. Donenfeld Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> 2016-05-12forms: action should not be empty