1. 28 6月, 2005 4 次提交
  2. 27 6月, 2005 9 次提交
  3. 26 6月, 2005 23 次提交
  4. 25 6月, 2005 2 次提交
    • L
      git-rev-list: add option to list all objects (not just commits) · 9de48752
      Linus Torvalds 提交于
      When you do
      
      	git-rev-list --objects $(git-rev-parse HEAD^..HEAD)
      
      it now lists not only the "commit difference" between the parent of HEAD
      and HEAD itself (which is normally just the parent, but in the case of a
      merge will be all the newly merged commits), but also all the new tree
      and blob objects that weren't in the original.
      
      NOTE! It doesn't walk all the way to the root, so it doesn't do a full
      object search in the full old history.  Instead, it will only look as
      far back in the history as it needs to resolve the commits.  Thus, if
      the commit reverts a blob (or tree) back to a state much further back in
      history, we may end up listing some blobs (or trees) as "new" even
      though they exist further back.
      
      Regardless, the list of objects will be a superset (usually exact) list
      of objects needed to go from the beginning commit to ending commit.
      
      As a particularly obvious special case,
      
      	git-rev-list --objects HEAD
      
      will end up listing every single object that is reachable from the HEAD
      commit.
      
      Side note: the objects are sorted by "recency", with commits first.
      9de48752
    • L
      git-rev-parse: re-organize and be more careful · 023d66ed
      Linus Torvalds 提交于
      Output default revisions as their hex SHA1 names to be consistent.
      
      Add "--verify" flag that verifies that we output a single ref and not
      more (and disables ref arguments).
      023d66ed
  5. 24 6月, 2005 2 次提交