1. 07 7月, 2009 7 次提交
  2. 02 7月, 2009 9 次提交
  3. 01 7月, 2009 9 次提交
  4. 30 6月, 2009 1 次提交
    • L
      git log: add '--merges' flag to match '--no-merges' · b8e8db28
      Linus Torvalds 提交于
      I do various statistics on git, and one of the things I look at is merges,
      because they are often interesting events to count ("how many merges vs
      how much 'real development'" kind of statistics). And you can do it with
      some fairly straightforward scripting, ie
      
      	git rev-list --parents HEAD |
      		grep ' .* ' |
      		git diff-tree --always -s --pretty=oneline --stdin |
      		less -S
      
      will do it.
      
      But I finally got irritated with the fact that we can skip merges with
      '--no-merges', but we can't do the trivial reverse operation.
      
      So this just adds a '--merges' flag that _only_ shows merges. Now you can
      do the above with just a
      
      	git log --merges --pretty=oneline
      
      which is a lot simpler. It also means that we automatically get a lot of
      statistics for free, eg
      
      	git shortlog -ns --merges
      
      does exactly what you'd want it to do.
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b8e8db28
  5. 28 6月, 2009 8 次提交
  6. 27 6月, 2009 2 次提交
  7. 26 6月, 2009 1 次提交
    • C
      git-remote: fix missing .uploadpack usage for show command · 345a3803
      Chris Frey 提交于
      For users pulling from machines with self compiled git installs,
      in non-PATH locations, they can set the config option
      remote.<name>.uploadpack to set the location of git-upload-pack.
      
      When using 'git remote show <name>', the remote HEAD check
      did not use the uploadpack configuration setting, and would
      not use the configured program.
      
      In builtin-remote.c, the config setting is already loaded
      with the call to remote_get(), so this patch passes that remote
      along to transport_get().
      Signed-off-by: NChris Frey <cdfrey@foursquare.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      345a3803
  8. 25 6月, 2009 3 次提交
    • E
      git-svn: convert globs to regexps for branch destinations · f7050599
      Eric Wong 提交于
      Marc Branchaud wrote:
      > I'm fairly happy with this, except for the way the branch
      > subcommand matches refspecs.  The patch does a simple string
      > comparison, but it'd be better to do an actual glob.  I just
      > couldn't track down the right function for that, so I left it as
      > a strcmp and hope that a gitizen can tell me how to glob here.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      f7050599
    • M
      git svn: Support multiple branch and tag paths in the svn repository. · 62244069
      Marc Branchaud 提交于
      This enables git-svn.perl to read multiple 'branches' and 'tags' entries in
      svn-remote config sections.  The init and clone subcommands also support
      multiple --branches and --tags arguments.
      
      The branch (and tag) subcommand gets a new argument: --destination (or -d).
      This argument is required if there are multiple branches (or tags) entries
      configured for the remote Subversion repository.  The argument's value
      specifies which branch (or tag) path to use to create the branch (or tag).
      The specified value must match the left side (without wildcards) of one of
      the branches (or tags) refspecs in the svn-remote's config.
      
      [ew: avoided explicit loop when combining globs with "push"]
      Signed-off-by: NMarc Branchaud <marcnarc@xiplink.com>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      62244069
    • B
      Add 'git svn reset' to unwind 'git svn fetch' · 195643f2
      Ben Jackson 提交于
      Add a command to unwind the effects of fetch by moving the rev_map
      and refs/remotes/git-svn back to an old SVN revision.  This allows
      revisions to be re-fetched.  Ideally SVN revs would be immutable,
      but permissions changes in the SVN repository or indiscriminate use
      of '--ignore-paths' can create situations where fetch cannot make
      progress.
      Signed-off-by: NBen Jackson <ben@ben.com>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      195643f2