Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Build a literal pathspec in one place
Git's pathspec item holds a const string now, so a path needs no writable copy to be matched.
Diffstat (limited to 'source')
-rw-r--r--source/shared.c18
-rw-r--r--source/shared.h6
-rw-r--r--source/ui-blame.c17
-rw-r--r--source/ui-blob.c17
-rw-r--r--source/ui-plain.c24
-rw-r--r--source/ui-tree.c15
6 files changed, 35 insertions, 62 deletions