1. 09 5月, 2009 3 次提交
  2. 23 4月, 2009 1 次提交
  3. 09 3月, 2009 2 次提交
  4. 29 1月, 2009 1 次提交
  5. 15 11月, 2008 1 次提交
  6. 07 8月, 2008 1 次提交
    • J
      Files given on the command line are relative to $cwd · dbd0f5c7
      Junio C Hamano 提交于
      When running "git commit -F file" and "git tag -F file" from a
      subdirectory, we should take it as relative to the directory we started
      from, not relative to the top-level directory.
      
      This adds a helper function "parse_options_fix_filename()" to make it more
      convenient to fix this class of issues.  Ideally, parse_options() should
      support a new type of option, "OPT_FILENAME", to do this uniformly, but
      this patch is meant to go to 'maint' to fix it minimally.
      
      One thing to note is that value for "commit template file" that comes from
      the command line is taken as relative to $cwd just like other parameters,
      but when it comes from the configuration varilable 'commit.template', it
      is taken as relative to the working tree root as before.  I think this
      difference actually is sensible (not that I particularly think
      commit.template itself is sensible).
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      dbd0f5c7
  7. 09 7月, 2008 1 次提交
  8. 01 7月, 2008 5 次提交
  9. 28 3月, 2008 1 次提交
  10. 03 3月, 2008 1 次提交
  11. 01 3月, 2008 1 次提交
  12. 23 11月, 2007 1 次提交
  13. 12 11月, 2007 1 次提交
    • P
      parse-options new features. · db7244bd
      Pierre Habouzit 提交于
      options flags:
      ~~~~~~~~~~~~~
        PARSE_OPT_NONEG allow the caller to disallow the negated option to exists.
      
      option types:
      ~~~~~~~~~~~~
        OPTION_BIT: ORs (or NANDs) a mask.
        OPTION_SET_INT: force the value to be set to this integer.
        OPTION_SET_PTR: force the value to be set to this pointer.
      
      helper:
      ~~~~~~
        HAS_MULTI_BITS (in git-compat-util.h) is a bit-hack to check if an
        unsigned integer has more than one bit set, useful to check if conflicting
        options have been used.
      Signed-off-by: NPierre Habouzit <madcoder@debian.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      db7244bd
  14. 06 11月, 2007 1 次提交
  15. 30 10月, 2007 5 次提交