1. 07 7月, 2009 10 次提交
  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