1. 27 1月, 2008 1 次提交
  2. 25 1月, 2008 2 次提交
  3. 23 1月, 2008 2 次提交
  4. 19 1月, 2008 1 次提交
    • L
      Move sha1_file_to_archive into libgit · 18125644
      Lars Hjemli 提交于
      When the specfile (export-subst) attribute was introduced, it added a
      dependency from archive-{tar|zip}.c to builtin-archive.c. This broke the
      support for archive-operations in libgit.a since builtin-archive.o doesn't
      belong in libgit.a.
      
      This patch moves the functions required by libgit.a from builtin-archive.c
      to the new file archive.c (which becomes part of libgit.a).
      Signed-off-by: NLars Hjemli <hjemli@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      18125644
  5. 18 1月, 2008 3 次提交
  6. 15 1月, 2008 1 次提交
    • J
      Fix git-rerere documentation · 11c57e6a
      Junio C Hamano 提交于
      rerere.enabled is _not_ on by default.  The command is enabled if rr-cache
      exists even when rerere.enabled is missing, and enabled or disabled by
      explicitly setting the rerere.enabled variable.
      11c57e6a
  7. 11 1月, 2008 1 次提交
  8. 09 1月, 2008 1 次提交
  9. 23 12月, 2007 1 次提交
  10. 20 12月, 2007 2 次提交
  11. 17 12月, 2007 1 次提交
  12. 15 12月, 2007 2 次提交
  13. 14 12月, 2007 1 次提交
  14. 11 12月, 2007 1 次提交
  15. 10 12月, 2007 1 次提交
  16. 09 12月, 2007 1 次提交
    • C
      git-help: add -w|--web option to display html man page in a browser. · 5d6491c7
      Christian Couder 提交于
      Now when using "git help -w cmd", we will try to show the HTML man
      page "git-cmd.html" in your prefered web browser.
      
      To do that "help.c" code will call a new shell script
      "git-browse-help".
      
      This currently works only if the HTML versions of the man page
      have been installed in $(htmldir) (typically "/usr/share/doc/git-doc"),
      so new target to do that is added to "Documentation/Makefile".
      
      The browser to use can be configured using the "web.browser"
      config variable.
      
      We try to open a new tab in an existing web browser, if possible.
      
      The code in "git-browse-help" is heavily stolen from "git-mergetool"
      by Theodore Y. Ts'o. Thanks.
      Signed-off-by: NChristian Couder <chriscool@tuxfamily.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5d6491c7
  17. 08 12月, 2007 1 次提交
  18. 07 12月, 2007 1 次提交
    • W
      Silence iconv warnings on Leopard · fe4aafba
      Wincent Colaiuta 提交于
      Apple ships a newer version of iconv with Leopard (Mac OS X 10.5/Darwin
      9). Ensure that OLD_ICONV is not set on any version of Darwin in the
      9.x series; this should be good for at least a couple of years, when
      Darwin 10 comes out and we can invert the sense of the test to
      specifically check for Darwin 7 or 8.
      
      A more sophisticated and robust check is possible for those who use
      autoconf, but not everybody does that.
      Signed-off-by: NWincent Colaiuta <win@wincent.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      fe4aafba
  19. 06 12月, 2007 1 次提交
    • J
      Use gitattributes to define per-path whitespace rule · cf1b7869
      Junio C Hamano 提交于
      The `core.whitespace` configuration variable allows you to define what
      `diff` and `apply` should consider whitespace errors for all paths in
      the project (See gitlink:git-config[1]).  This attribute gives you finer
      control per path.
      
      For example, if you have these in the .gitattributes:
      
          frotz   whitespace
          nitfol  -whitespace
          xyzzy   whitespace=-trailing
      
      all types of whitespace problems known to git are noticed in path 'frotz'
      (i.e. diff shows them in diff.whitespace color, and apply warns about
      them), no whitespace problem is noticed in path 'nitfol', and the
      default types of whitespace problems except "trailing whitespace" are
      noticed for path 'xyzzy'.  A project with mixed Python and C might want
      to have:
      
          *.c    whitespace
          *.py   whitespace=-indent-with-non-tab
      
      in its toplevel .gitattributes file.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      cf1b7869
  20. 05 12月, 2007 1 次提交
  21. 04 12月, 2007 2 次提交
  22. 03 12月, 2007 3 次提交
  23. 02 12月, 2007 2 次提交
  24. 01 12月, 2007 1 次提交
  25. 28 11月, 2007 1 次提交
  26. 23 11月, 2007 2 次提交
  27. 19 11月, 2007 3 次提交
    • S
      Make git-clean a builtin · 113f10f2
      Shawn Bohrer 提交于
      This replaces git-clean.sh with builtin-clean.c, and moves
      git-clean.sh to the examples.
      
      This also introduces a change in behavior when removing directories
      explicitly specified as a path.  For example currently:
      
      1. When dir has only untracked files, these two behave differently:
      
          $ git clean -n dir
          $ git clean -n dir/
      
      the former says "Would not remove dir/", while the latter would say
      "Would remove dir/untracked" for all paths under it, but not the
      directory itself.
      
      With -d, the former would stop refusing, however since the user
      explicitly asked to remove the directory the -d is no longer required.
      
      2. When there are more parameters:
      
          $ git clean -n dir foo
          $ git clean -n dir/ foo
      
      both cases refuse to remove dir/ unless -d is specified.  Once again
      since both cases requested to remove dir the -d is no longer required.
      
      Thanks to Johannes Schindelin for the conversion to using the
      parse-options API.
      Signed-off-by: NShawn Bohrer <shawn.bohrer@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      113f10f2
    • J
      Move gitk to its own subdirectory · 62ba5143
      Junio C Hamano 提交于
      This is to prepare for gitk i18n effort that makes gitk not a single file
      project anymore.  We may use subproject to bind git.git and gitk.git more
      loosely in the future, but we do not want to require everybody to have
      subproject aware git to be able to pull from git.git yet.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      62ba5143
    • G
      Use compat mkdtemp() on Solaris boxes · 4e0da763
      Guido Ostkamp 提交于
      Define NO_MKDTEMP for all variants of SunOS; Solaris 10 does not
      have mkdtemp() and all the other versions our Makefile knows
      about don't have it either.
      
      NO_{SETENV,UNSETENV,C99_FORMAT,STRTOUMAX} definitions cannot be
      unified across versions.  Beginning with Solaris 10, the C-library
      provides unsetenv(), setenv() and strtoumax().  Also 'z'/'t' formats
      are supported.  However, older versions of Solaris do not support
      these.
      Signed-off-by: NGuido Ostkamp <git@ostkamp.fastmail.fm>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4e0da763