Skip to content
  • Jeff King's avatar
    strvec: rename struct fields · d70a9eb6
    Jeff King authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    The "argc" and "argv" names made sense when the struct was argv_array,
    but now they're just confusing. Let's rename them to "nr" (which we use
    for counts elsewhere) and "v" (which is rather terse, but reads well
    when combined with typical variable names like "args.v").
    
    Note that we have to update all of the callers immediately. Playing
    tricks with the preprocessor is hard here, because we wouldn't want to
    rewrite unrelated tokens.
    
    Signed-off-by: default avatarJeff King <peff@peff.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    d70a9eb6