Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 15, 2009
  1. @szeder @gitster

    rerere: remove duplicated functions

    szeder authored gitster committed
    Both rerere.c and builtin-rerere.c define the static functions
    rr_path() and has_resolution() the exact same way.  To eliminate this
    code duplication this patch turns the functions in rerere.c
    non-static, and makes builtin-rerere.c use them.  Also, since this
    puts these two functions into the global namespace, rename them to
    rerere_path() and has_rerere_resolution(), respectively, and rename
    their "name" parameter to "hex", because it better reflects what that
    parameter actually is.
    Signed-off-by: SZEDER Gábor <>
    Signed-off-by: Junio C Hamano <>
Something went wrong with that request. Please try again.