1. 05 6月, 2005 1 次提交
    • L
      git-rev-list: allow arbitrary head selections, use git-rev-tree syntax · 337cb3fb
      Linus Torvalds 提交于
      This makes git-rev-list use the same command line syntax to mark the
      commits as git-rev-tree does, and instead of just allowing a start and
      end commit, it allows an arbitrary list of "interesting" and "uninteresting"
      commits.
      
      For example, imagine that you had three branches (a, b and c) that you
      are interested in, but you don't want to see stuff that already exists
      in another persons three releases (x, y and z). You can do
      
      	git-rev-list a b c ^x ^y ^z
      
      (order doesn't matter, btw - feel free to put the uninteresting ones
      first or otherwise swithc them around), and it will show all the
      commits that are reachable from a/b/c but not reachable from x/y/z.
      
      The old syntax "git-rev-list start end" would not be written as
      "git-rev-list start ^end", or "git-rev-list ^end start".
      
      There's no limit to the number of heads you can specify (unlike
      git-rev-tree, which can handle a maximum of 16 heads).
      337cb3fb
  2. 03 6月, 2005 2 次提交
  3. 01 6月, 2005 1 次提交
    • L
      git-rev-list: add "--pretty" command line option · 9d97aa64
      Linus Torvalds 提交于
      That pretty-prints the resulting commit messages, so
      
      	git-rev-list --pretty HEAD v2.6.12-rc5 | less -S
      
      basically ends up being a log of the changes between -rc5
      and current head.
      
      It uses the pretty-printing helper function I just extracted
      from diff-tree.c.
      9d97aa64
  4. 31 5月, 2005 2 次提交
  5. 26 5月, 2005 1 次提交
    • L
      git-rev-list: add "end" commit and "--header" flag · a6f68d47
      Linus Torvalds 提交于
      The "end" commit is just faking it right now, it's sorting things
      purely by date, so this is _not_ a reachability analysis. Some day.
      
      The "--header" flag causes the commit message to be printed out,
      with a NUL character separator after it for parseability. This
      allows you to do things like use "grep -z" to grep for certain
      authors etc.
      a6f68d47
  6. 20 5月, 2005 1 次提交
  7. 07 5月, 2005 1 次提交
  8. 02 5月, 2005 1 次提交
    • L
      Add "get_sha1()" helper function. · 3c249c95
      Linus Torvalds 提交于
      This allows the programs to use various simplified versions of
      the SHA1 names, eg just say "HEAD" for the SHA1 pointed to by
      the .git/HEAD file etc.
      
      For example, this commit has been done with
      
      	git-commit-tree $(git-write-tree) -p HEAD
      
      instead of the traditional "$(cat .git/HEAD)" syntax.
      3c249c95
  9. 24 4月, 2005 2 次提交