Skip to content
Commits on Sep 28, 2011
  1. @gitster

    parseopt: add OPT_NOOP_NOARG

    René Scharfe committed with gitster
    Add OPT_NOOP_NOARG, a helper macro to define deprecated options in a
    standard way.  The help text is taken from the no-op option -r of
    git revert.
    
    The callback could be made to emit a (conditional?) warning later.  And
    we could also add OPT_NOOP (requiring an argument) etc. as needed.
    
    Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Aug 29, 2011
  1. @gitster

    Merge branch 'jk/color-and-pager'

    gitster committed
    * jk/color-and-pager:
      want_color: automatically fallback to color.ui
      diff: don't load color config in plumbing
      config: refactor get_colorbool function
      color: delay auto-color decision until point of use
      git_config_colorbool: refactor stdout_is_tty handling
      diff: refactor COLOR_DIFF from a flag into an int
      setup_pager: set GIT_PAGER_IN_USE
      t7006: use test_config helpers
      test-lib: add helper functions for config
      t7006: modernize calls to unset
    
    Conflicts:
    	builtin/commit.c
    	parse-options.c
Commits on Aug 11, 2011
  1. @divanorama @gitster

    Reduce parse-options.o dependencies

    divanorama committed with gitster
    Currently parse-options.o pulls quite a big bunch of dependencies.
    his complicates it's usage in contrib/ because it pulls external
    dependencies and it also increases executables size.
    
    Split off less generic and more internal to git part of
    parse-options.c to parse-options-cb.c.
    
    Move prefix_filename function from setup.c to abspath.c. abspath.o
    and wrapper.o pull each other, so it's unlikely to increase the
    dependencies. It was a dependency of parse-options.o that pulled
    many others.
    
    Now parse-options.o pulls just abspath.o, ctype.o, strbuf.o, usage.o,
    wrapper.o, libc directly and strlcpy.o indirectly.
    
    Signed-off-by: Dmitry Ivankov <divanorama@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.