Skip to content
  • Jeff King's avatar
    oid_array: rename source file from sha1-array · fe299ec5
    Jeff King authored and Junio C Hamano's avatar Junio C Hamano committed
    We renamed the actual data structure in 910650d2 (Rename sha1_array to
    oid_array, 2017-03-31), but the file is still called sha1-array. Besides
    being slightly confusing, it makes it more annoying to grep for leftover
    occurrences of "sha1" in various files, because the header is included
    in so many places.
    
    Let's complete the transition by renaming the source and header files
    (and fixing up a few comment references).
    
    I kept the "-" in the name, as that seems to be our style; cf.
    fc1395f4
    
     (sha1_file.c: rename to use dash in file name, 2018-04-10).
    We also have oidmap.h and oidset.h without any punctuation, but those
    are "struct oidmap" and "struct oidset" in the code. We _could_ make
    this "oidarray" to match, but somehow it looks uglier to me because of
    the length of "array" (plus it would be a very invasive patch for little
    gain).
    
    Signed-off-by: default avatarJeff King <peff@peff.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    fe299ec5