Skip to content
  • Jeff King's avatar
    xdiff: use git-compat-util · b46054b3
    Jeff King authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    Since the xdiff library was not originally part of Git, it does its own
    system includes. Let's instead use git-compat-util, which has two
    benefits:
    
      1. It adjusts for any system-specific quirks in how or what we should
         include (though xdiff's needs are light enough that this hasn't
         been a problem in the past).
    
      2. It lets us use wrapper functions like xmalloc().
    
    Signed-off-by: default avatarJeff King <peff@peff.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    b46054b3