1. 01 4月, 2007 1 次提交
  2. 30 3月, 2007 1 次提交
  3. 28 3月, 2007 1 次提交
  4. 17 3月, 2007 1 次提交
  5. 14 3月, 2007 1 次提交
  6. 13 3月, 2007 2 次提交
  7. 07 3月, 2007 4 次提交
  8. 06 3月, 2007 3 次提交
  9. 04 3月, 2007 3 次提交
  10. 02 3月, 2007 1 次提交
  11. 26 2月, 2007 1 次提交
    • E
      Add test-chmtime: a utility to change mtime on files · 17e48368
      Eric Wong 提交于
      This is intended to be a portable replacement for our usage
      of date(1), touch(1), and Perl one-liners in tests.
      
      Usage: test-chtime (+|=|-|=+|=-)<seconds> <file>..."
      
        '+' increments the mtime on the files by <seconds>
        '-' decrements the mtime on the files by <seconds>
        '=' sets the mtime on the file to exactly <seconds>
        '=+' and '=-' sets the mtime on the file to <seconds> after or
            before the current time.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      17e48368
  12. 23 2月, 2007 1 次提交
    • J
      Add git-bundle: move objects and references by archive · 2e0afafe
      Johannes Schindelin 提交于
      Some workflows require use of repositories on machines that cannot be
      connected, preventing use of git-fetch / git-push to transport objects and
      references between the repositories.
      
      git-bundle provides an alternate transport mechanism, effectively allowing
      git-fetch and git-pull to operate using sneakernet transport. `git-bundle
      create` allows the user to create a bundle containing one or more branches
      or tags, but with specified basis assumed to exist on the target
      repository. At the receiving end, git-bundle acts like git-fetch-pack,
      allowing the user to invoke git-fetch or git-pull using the bundle file as
      the URL. git-fetch and git-ls-remote determine they have a bundle URL by
      checking that the URL points to a file, but are otherwise unchanged in
      operation with bundles.
      
      The original patch was done by Mark Levedahl <mdl123@verizon.net>.
      
      It was updated to make git-bundle a builtin, and get rid of the tar
      format: now, the first line is supposed to say "# v2 git bundle", the next
      lines either contain a prerequisite ("-" followed by the hash of the
      needed commit), or a ref (the hash of a commit, followed by the name of
      the ref), and finally the pack. As a result, the bundle argument can be
      "-" now.
      Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      2e0afafe
  13. 22 2月, 2007 1 次提交
  14. 21 2月, 2007 1 次提交
  15. 20 2月, 2007 2 次提交
  16. 15 2月, 2007 1 次提交
    • L
      Lazy man's auto-CRLF · 6c510bee
      Linus Torvalds 提交于
      It currently does NOT know about file attributes, so it does its
      conversion purely based on content. Maybe that is more in the "git
      philosophy" anyway, since content is king, but I think we should try to do
      the file attributes to turn it off on demand.
      
      Anyway, BY DEFAULT it is off regardless, because it requires a
      
      	[core]
      		AutoCRLF = true
      
      in your config file to be enabled. We could make that the default for
      Windows, of course, the same way we do some other things (filemode etc).
      
      But you can actually enable it on UNIX, and it will cause:
      
       - "git update-index" will write blobs without CRLF
       - "git diff" will diff working tree files without CRLF
       - "git checkout" will write files to the working tree _with_ CRLF
      
      and things work fine.
      
      Funnily, it actually shows an odd file in git itself:
      
      	git clone -n git test-crlf
      	cd test-crlf
      	git config core.autocrlf true
      	git checkout
      	git diff
      
      shows a diff for "Documentation/docbook-xsl.css". Why? Because we have
      actually checked in that file *with* CRLF! So when "core.autocrlf" is
      true, we'll always generate a *different* hash for it in the index,
      because the index hash will be for the content _without_ CRLF.
      
      Is this complete? I dunno. It seems to work for me. It doesn't use the
      filename at all right now, and that's probably a deficiency (we could
      certainly make the "is_binary()" heuristics also take standard filename
      heuristics into account).
      
      I don't pass in the filename at all for the "index_fd()" case
      (git-update-index), so that would need to be passed around, but this
      actually works fine.
      
      NOTE NOTE NOTE! The "is_binary()" heuristics are totally made-up by yours
      truly. I will not guarantee that they work at all reasonable. Caveat
      emptor. But it _is_ simple, and it _is_ safe, since it's all off by
      default.
      
      The patch is pretty simple - the biggest part is the new "convert.c" file,
      but even that is really just basic stuff that anybody can write in
      "Teaching C 101" as a final project for their first class in programming.
      Not to say that it's bug-free, of course - but at least we're not talking
      about rocket surgery here.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      6c510bee
  17. 14 2月, 2007 2 次提交
  18. 13 2月, 2007 6 次提交
  19. 07 2月, 2007 1 次提交
    • J
      Remove git-merge-recur · 6506e156
      Junio C Hamano 提交于
      This was useful when the current recursive was in development, and
      the original Python version was still called git-merge-recursive.
      
      Now the synonym has served us well, it is time to move on.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      6506e156
  20. 06 2月, 2007 1 次提交
  21. 30 1月, 2007 1 次提交
  22. 29 1月, 2007 2 次提交
  23. 21 1月, 2007 2 次提交
    • S
      git-gui: Ensure version number is always current. · f1cee4e6
      Shawn O. Pearce 提交于
      I'm stealing the exact logic used by core Git within its own Makefile to
      setup the version number within scripts and executables.  This way we
      can be sure that the version number is always updated after a commit,
      and that the version number also reflects when it is coming from a dirty
      working directory (and is thus pretty worthless).
      
      I've cleaned up some of the version display code in the about dialog too.
      There were simply too many blank lines in the bottom section where we
      showed the version data.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      f1cee4e6
    • S
      git-gui: Modified makefile to embed version into git-gui script. · 41bdcda3
      Shawn O. Pearce 提交于
      We want to embed the version of git-gui directly into the script file,
      so that we can display it properly in the about dialog.  Consequently
      I've refactored the Makefile process to act like the one in core git.git
      with regards to shell scripts, allowing git-gui to be constructed by a
      sed replacement performed on git-gui.sh.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      41bdcda3