]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
refs.c: make submodule ref store hashmap generic
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Tue, 4 Apr 2017 10:21:20 +0000 (17:21 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Apr 2017 01:24:29 +0000 (18:24 -0700)
commit0c064d907b5d96cb4f68c9f1f3214b115d43436e
tree3f5174f8bb53e7743cde43e5f9de9aaab10fa200
parenta560d87033729d884acb3f198cc52edd6c816416
refs.c: make submodule ref store hashmap generic

This removes the "submodule" from submodule_hash_entry and other
function names. The goal is to reuse the same code and data structure
for other ref store types. The first one is worktree ref stores.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c