Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 31, 2014
  1. @gitster

    parse-options: add cast to correct pointer type to OPT_SET_PTR

    gitster authored
    Do not force users of OPT_SET_PTR to cast pointer to correct
    underlying pointer type by integrating cast into OPT_SET_PTR macro.
    
    Cast is required to prevent 'initialization makes integer from pointer
    without a cast' compiler warning.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jul 30, 2008
  1. @gitster

    Fix test-parse-options "integer" test

    gitster authored
    OPT_INTEGER() works on an integer, not on an unsigned long.  On a big
    endian architecture with long larger than int, integer test gives bogus
    results because of this bug.
    
    Reported by H.Merijn Brand in HP-UX 64-bit environment.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.