1. 03 3月, 2006 8 次提交
    • E
      git-branch: add -r switch to list refs/remotes/* · fd8fc4ad
      Eric Wong 提交于
      If we decide to use refs/remotes/, having a convenient way to
      list them would be nice.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      fd8fc4ad
    • M
      cvsserver: fix checkouts with -d <somedir> · e74ee784
      Martin Langhoff 提交于
      A recent Eclipse compat fix broke checkouts with -d. Fix it so that the server
      sends the correct module name instead of the destination directory name.
      e74ee784
    • M
      cvsserver: checkout faster by sending files in a sensible order · 501c7372
      Martin Langhoff 提交于
      Just by sending the files in an ordered fashion, clients can process them
      much faster. And we can optimize our check of whether we created this
      directory already -- faster.
      
      Timings for a checkout on a commandline cvs client for a project with
      ~13K files totalling ~100MB:
      
      Unsorted:
        603.12 real        16.89 user        42.88 sys
      
      Sorted:
        298.19 real        26.37 user        42.42 sys
      501c7372
    • J
      git-commit: make sure we protect against races. · b8310152
      Junio C Hamano 提交于
      An earlier commit 8098a178
      accidentally lost race protection from git-commit command.
      This commit reinstates it.  When something else updates HEAD
      pointer while you were editing your commit message, the command
      would notice and abort the commit.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      b8310152
    • J
      git-commit --amend · b4019f04
      Junio C Hamano 提交于
      The new flag is used to amend the tip of the current branch.  Prepare
      the tree object you would want to replace the latest commit as usual
      (this includes the usual -i/-o and explicit paths), and the commit log
      editor is seeded with the commit message from the tip of the current
      branch.  The commit you create replaces the current tip -- if it was a
      merge, it will have the parents of the current tip as parents -- so the
      current top commit is discarded.
      
      It is a rough equivalent for:
      
      	$ git reset --soft HEAD^
      	$ ... do something else to come up with the right tree ...
      	$ git commit -c ORIG_HEAD
      
      but can be used to amend a merge commit.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      b4019f04
    • J
      show-branch --topics · d320a543
      Junio C Hamano 提交于
      This adds a new flag, --topics, to help managing topic
      branches.  When you have topic branches forked some time ago
      from your primary line of development, show-branch would show
      many "uninteresting" things that happend on the primary line of
      development when trying to see what are still not merged from
      the topic branches.
      
      With this flag, the first ref given to show-branch is taken as
      the primary branch, and the rest are taken as the topic
      branches.  Output from the command is modified so that commits
      only on the primary branch are not shown.  In other words,
      
      	$ git show-branch --topics master topic1 topic2 ...
      
      shows an (almost) equivalent of
      
      	$ git rev-list ^master topic1 topic2 ...
      
      The major differences are that (1) you can tell which commits
      are on which branch, and (2) the commit at the fork point is
      shown.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      d320a543
    • J
      GIT-VERSION-GEN: squelch unneeded error from "cat version" · 0b8b051c
      Junio C Hamano 提交于
      Now this is really a corner case, but if you have the git source
      tree from somewhere other than the official tarball, you do not
      have version file.  And if git-describe does not work for you
      (maybe you do not have git yet), we spilled an error message
      from "cat version".
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      0b8b051c
    • J
      Merge branch 'ml/cvsserver' · 0cd5da56
      Junio C Hamano 提交于
      * ml/cvsserver:
        cvsserver: Eclipse compat -- now "compare with latest from HEAD" works
        cvsserver: Checkout correctly on Eclipse
      0cd5da56
  2. 02 3月, 2006 27 次提交
  3. 01 3月, 2006 5 次提交