• Junio C Hamano's avatar
    Merge branch 'nd/complete-config-vars' · ebaf0a56
    Junio C Hamano authored
    Continuing with the idea to programatically enumerate various
    pieces of data required for command line completion, teach the
    codebase to report the list of configuration variables
    subcommands care about to help complete them.
    * nd/complete-config-vars:
      completion: complete general config vars in two steps
      log-tree: allow to customize 'grafted' color
      completion: support case-insensitive config vars
      completion: keep other config var completion in camelCase
      completion: drop the hard coded list of config vars
      am: move advice.amWorkDir parsing back to advice.c
      advice: keep config name in camelCase in advice_config[]
      fsck: produce camelCase config key names
      help: add --config to list all available config
      fsck: factor out msg_id_info[] lazy initialization code
      grep: keep all colors in an array
      Add and use generic name->id mapping code for color slot parsing
diff.c 165 KB