about summary refs log tree commit diff
path: root/cmd.c
diff options
context:
space:
mode:
authorFerry Huberts <ferry.huberts@pelagic.nl>2011-07-21 14:43:54 +0200
committerLars Hjemli <hjemli@gmail.com>2011-07-21 12:48:37 +0000
commit877ff681007f31c69777e9569c4de819d4af19c9 (patch)
tree019148a1c41c23719f9ce7f1ededd6a86042501d /cmd.c
parentcgit.c: improve error message when git repo cannot be accessed (diff)
downloadcgit-pink-877ff681007f31c69777e9569c4de819d4af19c9.tar.gz
cgit-pink-877ff681007f31c69777e9569c4de819d4af19c9.zip
tests: fix failures when CDPATH is set
Some tests would otherwise fail because commands such as
  cd trash/repos/foo && git rev-list --reverse HEAD | head -1
would return 2 lines instead of 1: the 'cd' command also
prints the path when CDPATH is set.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
id=49daadea24808f007fbd2fe46ac537cb38705b07&follow=1'>Match only the basename in hiJune McEnroe 2019-02-07Add mdoc syntax to hiJune McEnroe 2019-02-07Support multi-line C macros in hiJune McEnroe 2019-02-07Detect .mk files as makeJune McEnroe 2019-02-07Add make syntax to hiJune McEnroe 2019-02-07Add IRC output to hiJune McEnroe 2019-02-07Improve C syntax accuracy and add Format classJune McEnroe 2019-02-07Factor out hi checkJune McEnroe 2019-02-07Add Escape class to hiJune McEnroe 2019-02-07Add Todo class and parent syntax constraintJune McEnroe