• J
    Prepare testsuite for a "git clone" that packs refs · d0d12b47
    Johan Herland 提交于
    t5515-fetch-merge-logic removes many, but not all, refs between each test.
    This is done by removing the corresponding refs/foo/* files in the .git/refs
    hierarchy. However, once "git clone" starts producing packed refs, these refs
    will no longer be in the .git/refs hierarchy, but rather listed in
    .git/packed-refs. This patch teaches t5515-fetch-merge-logic to remove the
    refs using "git update-ref -d" which properly handles packed refs.
    Signed-off-by: NJohan Herland <johan@herland.net>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    d0d12b47
t5515-fetch-merge-logic.sh 4.5 KB