1. 08 6月, 2005 6 次提交
  2. 07 6月, 2005 14 次提交
    • D
      [PATCH] Document git-ssh-pull and git-ssh-push · 63aff4fe
      Daniel Barkalow 提交于
      This fixes the documentation for git-ssh-push, as called by users (if you
      run git-ssh-pull or git-ssh-push on one machine, the other runs on the
      other machine, and they transfer data in the specified direction).
      
      This also adds documentation for the -w option and for using filenames for
      the commit-id (which does what you'd want: uses the source side's value,
      not the value already on the target, even if you're running it on the
      target).
      
      It also credits me with the programs and the documentation for
      git-ssh-push.
      
      Someone who knows asciidoc should make sure I didn't mess up the
      formatting. I'm only sure of the ascii part.
      Signed-off-by: NDaniel Barkalow <barkalow@iabervon.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      63aff4fe
    • L
      git-resolve-script: stop when the automated merge fails · e5b905c4
      Linus Torvalds 提交于
      No point in doing a tree write that will just throw
      confusing messages on the screen.
      e5b905c4
    • L
      Make fetch/pull scripts terminate cleanly on errors · ed37b5b2
      Linus Torvalds 提交于
      Don't continue with a merge if the fetch failed.
      ed37b5b2
    • L
      git-resolve-script: don't wait for three seconds any more · 3f4eff75
      Linus Torvalds 提交于
      We used to overwrite peoples dirty state.  We don't any more.  So don't
      print the scary message and don't delay, just do the update already.
      3f4eff75
    • D
      [PATCH] -w support for git-ssh-pull/push · c7c4bbe6
      Daniel Barkalow 提交于
      This adds support for -w to git-ssh-pull and git-ssh-push to make
      receiving side write the commit that was transferred to a reference file.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c7c4bbe6
    • D
      [PATCH] Generic support for pulling refs · cd541a68
      Daniel Barkalow 提交于
      This adds support to pull.c for requesting a reference and writing it to a
      file. All of the git-*-pull programs get stubs for now.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      cd541a68
    • D
      [PATCH] rsh.c environment variable · 9182f89a
      Daniel Barkalow 提交于
      rsh.c used to set the environment variable for the object database when
      invoking the remote command. Now that there is a GIT_DIR variable, use
      that instead.
      Signed-off-by: NDaniel Barkalow <barkalow@iabervon.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9182f89a
    • D
      [PATCH] Operations on refs · 95fc7512
      Daniel Barkalow 提交于
      This patch adds code to read a hash out of a specified file under
      {GIT_DIR}/refs/, and to write such files atomically and optionally with an
      compare and lock.
      Signed-off-by: NDaniel Barkalow <barkalow@iabervon.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      95fc7512
    • L
      git-read-tree: some "final" cleanups · 45132251
      Linus Torvalds 提交于
      Looking good, but hey, it's not like I even have a real testcase for any
      of this.  But unlike the mess that this was yerstday, today read-cache
      is pretty readable and understandable.  Which is always a good sign.
      45132251
    • L
      git-read-tree: simplify merge loops enormously · d723c690
      Linus Torvalds 提交于
      Stop trying to haev this stateful thing that keeps track of what it has
      seen, and use a much simpler "gather all the different stages with the
      same name together and just merge them in one go" approach.
      
      Makes it a lot more understandable, and allows the different merge
      algorithms to share the basic merge loop.
      d723c690
    • J
      [PATCH] index locking like everybody else · 96cd5429
      Junio C Hamano 提交于
      This patch teaches read-tree how to use the index file locking
      helpers the same way "checkout-cache -u" and "update-cache" do.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      96cd5429
    • L
      Add "__noreturn__" attribute to die() and usage() · 90334cf7
      Linus Torvalds 提交于
      Only with gcc. It fixes some warnings for certain versions
      of gcc, but not apparently all.
      90334cf7
    • L
      git-rev-list: make sure to link with ssl libraries · 64de3562
      Linus Torvalds 提交于
      Needed for the bignum stuff used by merge-order.
      64de3562
    • J
      [PATCH] Modify git-rev-list to linearise the commit history in merge order. · a3437b8c
      jon@blackcubes.dyndns.org 提交于
      This patch linearises the GIT commit history graph into merge order
      which is defined by invariants specified in Documentation/git-rev-list.txt.
      
      The linearisation produced by this patch is superior in an objective sense
      to that produced by the existing git-rev-list implementation in that
      the linearisation produced is guaranteed to have the minimum number of
      discontinuities, where a discontinuity is defined as an adjacent pair of
      commits in the output list which are not related in a direct child-parent
      relationship.
      
      With this patch a graph like this:
      
      	a4 ---
      	| \   \
      	|  b4 |
      	|/ |  |
      	a3 |  |
      	|  |  |
      	a2 |  |
      	|  |  c3
      	|  |  |
      	|  |  c2
      	|  b3 |
      	|  | /|
      	|  b2 |
      	|  |  c1
      	|  | /
      	|  b1
      	a1 |
      	|  |
      	a0 |
      	| /
      	root
      
      Sorts like this:
      
      	= a4
      	| c3
      	| c2
      	| c1
      	^ b4
      	| b3
      	| b2
      	| b1
      	^ a3
      	| a2
      	| a1
      	| a0
      	= root
      
      Instead of this:
      
      	= a4
      	| c3
      	^ b4
      	| a3
      	^ c2
      	^ b3
      	^ a2
      	^ b2
      	^ c1
      	^ a1
      	^ b1
      	^ a0
      	= root
      
      A test script, t/t6000-rev-list.sh, includes a test which demonstrates
      that the linearisation produced by --merge-order has less discontinuities
      than the linearisation produced by git-rev-list without the --merge-order
      flag specified. To see this, do the following:
      
      	cd t
      	./t6000-rev-list.sh
      	cd trash
      	cat actual-default-order
      	cat actual-merge-order
      
      The existing behaviour of git-rev-list is preserved, by default. To obtain
      the modified behaviour, specify --merge-order or --merge-order --show-breaks
      on the command line.
      
      This version of the patch has been tested on the git repository and also on the linux-2.6
      repository and has reasonable performance on both - ~50-100% slower than the original algorithm.
      
      This version of the patch has incorporated a functional equivalent of the Linus' output limiting
      algorithm into the merge-order algorithm itself. This operates per the notes associated
      with Linus' commit 337cb3fb.
      
      This version has incorporated Linus' feedback regarding proposed changes to rev-list.c.
      (see: [PATCH] Factor out filtering in rev-list.c)
      
      This version has improved the way sort_first_epoch marks commits as uninteresting.
      
      For more details about this change, refer to Documentation/git-rev-list.txt
      and http://blackcubes.dyndns.org/epoch/.
      Signed-off-by: NJon Seymour <jon.seymour@gmail.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a3437b8c
  3. 06 6月, 2005 20 次提交