Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-11-18 08:18:14 +0300
committerJunio C Hamano <gitster@pobox.com>2007-11-18 08:19:55 +0300
commit4b87474bc9b620cf07b09130e33963cdaf34c603 (patch)
treef41893e4907c7f19955181d7860eea6155e92b2d /Documentation
parent78e694787cb89cd008e237b17cdc7f0fa5a15d22 (diff)
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')
0 files changed, 0 insertions, 0 deletions