summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2009-07-21 10:09:48 +0200
committerPaul Mackerras <paulus@samba.org>2009-08-13 21:49:09 +1000
commit097e11182213afa4166c0fe58bd8135d71b52fb5 (patch)
tree37aad7db5702b86b848094c4ec87b91bbd8735e9 /commit.c
parenta41ddbb649c72214a4861827eedc7b2eebe0608f (diff)
downloadgit-097e11182213afa4166c0fe58bd8135d71b52fb5.tar.gz
gitk: Do not hard-code "encoding" in attribute lookup functions
Commit 39ee47e (Clean up file encoding code and add enable/disable option, 2008-10-15) rewrote the attribute lookup functions gitattr and cache_gitattr, but in the process hard-coded the attribute name "encoding" instead of using the functions' parameters. This fixes it. This is not a serious regression because currently all callers look only for "encoding". Further note that this fix assumes that future callers will not pass an attribute name that contains regex special characters. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions