diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-11-17 21:18:14 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-17 21:19:55 -0800 |
commit | 4b87474bc9b620cf07b09130e33963cdaf34c603 (patch) | |
tree | f41893e4907c7f19955181d7860eea6155e92b2d /Documentation/RelNotes-1.5.3.6.txt | |
parent | 78e694787cb89cd008e237b17cdc7f0fa5a15d22 (diff) | |
download | git-4b87474bc9b620cf07b09130e33963cdaf34c603.tar.gz |
grep -An -Bm: fix invocation of external grep command
When building command line to invoke external grep, the
arguments to -A/-B/-C options were placd in randarg[] buffer,
but the code forgot that snprintf() does not count terminating
NUL in its return value. This caused "git grep -A1 -B2" to
invoke external grep with "-B21 -A1".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes-1.5.3.6.txt')
0 files changed, 0 insertions, 0 deletions