1. 31 3月, 2006 7 次提交
  2. 30 3月, 2006 6 次提交
  3. 29 3月, 2006 2 次提交
    • J
      rev-list --boundary · 384e99a4
      Junio C Hamano 提交于
      With the new --boundary flag, the output from rev-list includes
      the UNINTERESING commits at the boundary, which are usually not
      shown.  Their object names are prefixed with '-'.
      
      For example, with this graph:
      
                    C side
                   /
      	A---B---D master
      
      You would get something like this:
      
      	$ git rev-list --boundary --header --parents side..master
      	D B
              tree D^{tree}
              parent B
              ... log message for commit D here ...
              \0-B A
              tree B^{tree}
              parent A
              ... log message for commit B here ...
              \0
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      384e99a4
    • J
      rev-list: memory usage reduction. · 9181ca2c
      Junio C Hamano 提交于
      We do not need to track object refs, neither we need to save commit
      unless we are doing verbose header.  A lot of traversal happens
      inside prepare_revision_walk() these days so setting things up before
      calling that function is necessary.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Acked-by: NLinus Torvalds <torvalds@osdl.org>
      9181ca2c
  4. 28 3月, 2006 5 次提交
    • J
      rev-list --no-merges: argument parsing fix. · 5cdeae71
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      5cdeae71
    • M
      xdiff: Show function names in hunk headers. · acb72577
      Mark Wooding 提交于
      The speed of the built-in diff generator is nice; but the function names
      shown by `diff -p' are /really/ nice.  And I hate having to choose.  So,
      we hack xdiff to find the function names and print them.
      
      xdiff has grown a flag to say whether to dig up the function names.  The
      builtin_diff function passes this flag unconditionally.  I suppose it
      could parse GIT_DIFF_OPTS, but it doesn't at the moment.  I've also
      reintroduced the `function name' into the test suite, from which it was
      removed in commit 3ce8f089.
      
      The function names are parsed by a particularly stupid algorithm at the
      moment: it just tries to find a line in the `old' file, from before the
      start of the hunk, whose first character looks plausible.  Still, it's
      most definitely a start.
      Signed-off-by: NMark Wooding <mdw@distorted.org.uk>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      acb72577
    • J
      Add ALL_LDFLAGS to the git target. · 9c48666a
      Jason Riedy 提交于
      For some reason, I need ALL_LDFLAGS in the git target only on
      AIX.  Once it builds, only one test "fails" on AIX 5.1 with
      1.3.0.rc1, t5500-fetch-pack.sh, but it looks like it's some
      odd tool problem in the tester + my setup and not a real bug.
      Signed-off-by: NJason Riedy <ejr@cs.berkeley.edu>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      9c48666a
    • J
      GIT 1.3.0 rc1 · dff86e28
      Junio C Hamano 提交于
      All of the things that were not in the "master" branch were
      either cooked long enough in "next" without causing problems
      (e.g. insanely fast rename detector or true built-in diff) or
      isolated in a specific subsystem (e.g. tar-tree and svnimport).
      
      So I am clearing the deck to prepare for a 1.3.0.  Remaining
      wrinkles, if any, will be ironed in the "master" branch.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      dff86e28
    • J
      Merge branch ak/svn · 65b5e41e
      Junio C Hamano 提交于
      65b5e41e
  5. 27 3月, 2006 7 次提交
  6. 26 3月, 2006 13 次提交
    • J
      Merge branch 'jc/thin' into next · f4e96f97
      Junio C Hamano 提交于
      * jc/thin:
        git-push: make --thin pack transfer the default.
        gitk: Fix two bugs reported by users
        gitk: Improve appearance of first child links
        gitk: Make downward-pointing arrows end in vertical line segment
        gitk: Don't change cursor at end of layout if find in progress
        gitk: Make commitdata an array rather than a list
        gitk: Fix display of diff lines beginning with --- or +++
        [PATCH] gitk: Make error_popup react to Return
        gitk: Fix a bug in drawing the selected line as a thick line
        gitk: Further speedups
        gitk: Various speed improvements
        gitk: Fix Update menu item
        gitk: Fix clicks on arrows on line ends
        gitk: New improved gitk
        contrib/git-svn: stabilize memory usage for big fetches
      f4e96f97
    • J
      git-push: make --thin pack transfer the default. · 84f11a43
      Junio C Hamano 提交于
      Just in case it has problems, you can say "git push --no-thin".
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      84f11a43
    • J
      Merge branches 'jc/clone' and 'jc/name' · be1295d1
      Junio C Hamano 提交于
      * jc/clone:
        git-clone: typofix.
        clone: record the remote primary branch with remotes/$origin/HEAD
        revamp git-clone (take #2).
        revamp git-clone.
        fetch,parse-remote,fmt-merge-msg: refs/remotes/* support
      
      * jc/name:
        sha1_name: make core.warnambiguousrefs the default.
        sha1_name: warning ambiguous refs.
        get_sha1_basic(): try refs/... and finally refs/remotes/$foo/HEAD
        core.warnambiguousrefs: warns when "name" is used and both "name" branch and tag exists.
      be1295d1
    • J
      Merge branch 'jc/merge' · 692c7fc9
      Junio C Hamano 提交于
      * jc/merge:
        git-merge knows some strategies want to skip trivial merges
      692c7fc9
    • J
      Merge branch 'lt/diffgen' into next · b9aa1f9e
      Junio C Hamano 提交于
      * lt/diffgen:
        true built-in diff: run everything in-core.
      b9aa1f9e
    • A
      git-svnimport: if a limit is specified, respect it · a7cfb4a4
      Anand Kumria 提交于
      git-svnimport will import the same revision over and over again if a
      limit (-l <rev>) has been specified. Instead if that revision has already
      been processed, exit with an up-to-date message.
      Signed-off-by: NAnand Kumria <wildfire@progsoc.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      a7cfb4a4
    • J
      Merge git://git.kernel.org/pub/scm/gitk/gitk · 9086a18c
      Junio C Hamano 提交于
      * git://git.kernel.org/pub/scm/gitk/gitk:
        gitk: Fix two bugs reported by users
        gitk: Improve appearance of first child links
        gitk: Make downward-pointing arrows end in vertical line segment
        gitk: Don't change cursor at end of layout if find in progress
        gitk: Make commitdata an array rather than a list
        gitk: Fix display of diff lines beginning with --- or +++
        [PATCH] gitk: Make error_popup react to Return
        gitk: Fix a bug in drawing the selected line as a thick line
        gitk: Further speedups
        gitk: Various speed improvements
        gitk: Fix Update menu item
        gitk: Fix clicks on arrows on line ends
        gitk: New improved gitk
      9086a18c
    • J
      true built-in diff: run everything in-core. · cebff98d
      Junio C Hamano 提交于
      This stops using temporary files when we are using the built-in
      diff (including the complete rewrite).
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      cebff98d
    • E
      contrib/git-svn: stabilize memory usage for big fetches · 03823184
      Eric Wong 提交于
      We should be safely able to import histories with thousands
      of revisions without hogging up lots of memory.
      
      With this, we lose the ability to autocorrect mistakes when
      people specify revisions in reverse, but it's probably no longer
      a problem since we only have one method of log parsing nowadays.
      
      I've added an extra check to ensure that revision numbers do
      increment.
      
      Also, increment the version number to 0.11.0.  I really should
      just call it 1.0 soon...
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      03823184
    • J
      Merge branch 'ew/email' into next · dad7230a
      Junio C Hamano 提交于
      * ew/email:
        send-email: lazy-load Email::Valid and make it optional
        send-email: try to order messages in email clients more correctly
        send-email: Change from Mail::Sendmail to Net::SMTP
        send-email: use built-in time() instead of /bin/date '+%s'
      dad7230a
    • J
      Merge branch 'lt/diffgen' into next · 9acf322d
      Junio C Hamano 提交于
      * lt/diffgen:
        built-in diff: minimum tweaks
        builtin-diff: \No newline at end of file.
        Use a *real* built-in diff generator
      9acf322d
    • J
      Merge branch 'rs/tar-tree' into next · 48d6e97a
      Junio C Hamano 提交于
      * rs/tar-tree:
        tar-tree: Use the prefix field of a tar header
        tar-tree: Remove obsolete code
        tar-tree: Use write_entry() to write the archive contents
        tar-tree: Introduce write_entry()
        tar-tree: Use SHA1 of root tree for the basedir
        git-apply: safety fixes
        Removed bogus "<snap>" identifier.
        Clarify and expand some hook documentation.
        commit-tree: check return value from write_sha1_file()
        send-email: Identify author at the top when sending e-mail
        Format tweaks for asciidoc.
      48d6e97a
    • E
      send-email: lazy-load Email::Valid and make it optional · 567ffeb7
      Eric Wong 提交于
      It's not installed on enough machines, and is overkill most of
      the time.  We'll fallback to a very basic regexp just in case,
      but nothing like the monster regexp Email::Valid has to offer :)
      
      Small cleanup from Merlyn.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      567ffeb7