Merge branch 'jk/grep-haystack-is-read-only'
commited45be76345454ab74454382953cb2de868c8cdb
authorJunio C Hamano <gitster@pobox.com>
Wed, 6 Oct 2021 20:40:11 +0000 (6 13:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Oct 2021 20:40:11 +0000 (6 13:40 -0700)
tree484889cfb2576e7e827bbd0c8eea0e6ac6e60955
parent844cc43377e2b7c02f01a06940e0a301ab2369e1
parent1e66871608d1f6f4cd66e899ee33755bbf6deafa
Merge branch 'jk/grep-haystack-is-read-only'

Code clean-up in the "grep" machinery.

* jk/grep-haystack-is-read-only:
  grep: store grep_source buffer as const
  grep: mark "haystack" buffers as const
  grep: stop modifying buffer in grep_source_1()
  grep: stop modifying buffer in show_line()
  grep: stop modifying buffer in strip_timestamp