1. 18 5月, 2006 2 次提交
  2. 17 5月, 2006 7 次提交
  3. 16 5月, 2006 22 次提交
  4. 15 5月, 2006 9 次提交
    • S
      Strip useless "tags/" prefix from git-tag -l output · e6ebb8a3
      Sean 提交于
      e6ebb8a3
    • J
      Merge branch 'fix' · de1d4fa2
      Junio C Hamano 提交于
      * fix:
        Ensure author & committer before asking for commit message.
      de1d4fa2
    • J
      Merge branch 'fix' into maint · c8df633b
      Junio C Hamano 提交于
      * fix:
        Ensure author & committer before asking for commit message.
      c8df633b
    • J
      read-tree -u one-way merge fix to check out locally modified paths. · 613f0273
      Junio C Hamano 提交于
      The "-u" flag means "update the working tree files", but to
      other types of merges, it also implies "I want to keep my local
      changes" -- because they prevent local changes from getting lost
      by using verify_uptodate.  The one-way merge is different from
      other merges in that its purpose is opposite of doing something
      else while keeping unrelated local changes.  The point of
      one-way merge is to nuke local changes.  So while it feels
      somewhat wrong that this actively loses local changes, it is the
      right thing to do.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      613f0273
    • E
      Install git-send-email by default · 15739c89
      Eric Wong 提交于
      After 567ffeb7 and
      4bc87a28, git-send-email no
      longer requires any non-standard Perl modules, so there's no
      reason to special-case it.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      15739c89
    • E
      send-email: address expansion for common mailers · 994d6c66
      Eric Wong 提交于
      mutt, gnus, pine, mailrc formats should be supported.
      
      Testing and feedback for correctness and completeness of all formats
      and support for additional formats would be good.
      
      Nested expansions are also supported.
      
      More than one alias file to be used.
      
      All alias file formats must still of be the same type, though.
      
      Two git repo-config keys are required for this
      (as suggested by Ryan Anderson):
      
          sendemail.aliasesfile = <filename of aliases file>
          sendemail.aliasfiletype = (mutt|gnus|pine|mailrc)
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Acked-by: NRyan Anderson <ryan@michonline.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      994d6c66
    • L
      builtin-grep: use external grep when we can take advantage of it · 1e2398d7
      Linus Torvalds 提交于
      It's not perfect, but it gets the "git grep some-random-string" down to
      the good old half-a-second range for the kernel.
      
      It should convert more of the argument flags for "grep", that should be
      trivial to expand (I did a few just as an example). It should also bother
      to try to return the right "hit" value (which it doesn't, right now - the
      code is kind of there, but I didn't actually bother to do it _right_).
      
      Also, right now it _just_ limits by number of arguments, but it should
      also strictly speaking limit by total argument size (ie add up the length
      of the filenames, and do the "exec_grep()" flush call if it's bigger than
      some random value like 32kB).
      
      But I think that it's _conceptually_ doing all the right things, and it
      seems to work. So maybe somebody else can do some of the final polish.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      1e2398d7
    • J
      diffstat rename squashing fix. · cc908b82
      Junio C Hamano 提交于
      When renaming leading/a/filename to leading/b/filename (and
      "filename" is sufficiently long), we tried to squash the rename
      to "leading/{a => b}/filename".  However, when "/a" or "/b" part
      is empty, we underflowed and tried to print a substring of
      length -1.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      cc908b82
    • L
      Simplify "git reset --hard" · c68998f5
      Linus Torvalds 提交于
      Now that the one-way merge strategy does the right thing wrt files that do
      not exist in the result, just remove all the random crud we did in "git
      reset" to do this all by hand.
      
      Instead, just pass in "-u" to git-read-tree when we do a hard reset, and
      depend on git-read-tree to update the working tree appropriately.
      
      This basically means that git reset turns into
      
      	# Always update the HEAD ref
      	git update-ref HEAD "$rev"
      
      	case "--soft"
      		# do nothing to index/working tree
      	case "--hard"
      		# read index _and_ update working tree
      		git-read-tree --reset -u "$rev"
      	case "--mixed"
      		# update just index, report on working tree differences
      		git-read-tree --reset "$rev"
      		git-update-index --refresh
      
      which is what it was always semantically doing, it just did it in a
      rather strange way because it was written to not expect git-read-tree to
      do anything to the working tree.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      c68998f5