1. 04 5月, 2006 1 次提交
  2. 03 5月, 2006 3 次提交
  3. 25 4月, 2006 1 次提交
    • P
      git-repo-config --list support · de791f15
      Petr Baudis 提交于
      This adds git-repo-config --list (or git-repo-config -l) support,
      similar to what git-var -l does now (to be phased out so that we
      have a single sane interface to the config file instead of fragmented
      and confused API).
      Signed-off-by: NPetr Baudis <pasky@suse.cz>
      de791f15
  4. 08 3月, 2006 1 次提交
  5. 12 2月, 2006 1 次提交
    • P
      Add support for explicit type specifiers when calling git-repo-config · 7162dff3
      Petr Baudis 提交于
      Currently, git-repo-config will just return the raw value of option
      as specified in the config file; this makes things difficult for scripts
      calling it, especially if the value is supposed to be boolean.
      
      This patch makes it possible to ask git-repo-config to check if the option
      is of the given type (int or bool) and write out the value in its
      canonical form. If you do not pass --int or --bool, the behaviour stays
      unchanged and the raw value is emitted.
      
      This also incidentally fixes the segfault when option with no value is
      encountered.
      
      [jc: tweaked the option parsing a bit to make it easier to see
       that the patch does not change anything but the type stuff in
       the diff output.  Also changed to avoid "foo ? : bar" construct. ]
      Signed-off-by: NPetr Baudis <pasky@suse.cz>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      7162dff3
  6. 06 1月, 2006 1 次提交
    • A
      AIX compile fix for repo-config.c · 0a152171
      Amos Waterland 提交于
      AIX 5 has a /usr/include/regex.h containing this code:
      
       #ifdef  _NO_PROTO
       extern  char    *regex();
       extern  char    *regcmp();
       #else /* _NO_PROTO */
       extern  char    *regex(const char *, const char *, ...);
       extern  char    *regcmp(const char *, ...);
       #endif  /* _NO_PROTO */
      
      This means that repo-config.c is trying to redefine the `regex' symbol.
      Here is a simple patch that just uses `regexp' as the symbol name instead.
      Signed-off-by: NAmos Waterland <apw@us.ibm.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      0a152171
  7. 25 11月, 2005 1 次提交
  8. 22 11月, 2005 1 次提交
  9. 21 11月, 2005 1 次提交
  10. 20 11月, 2005 2 次提交