1. 16 Jul, 2008 1 commit
  2. 05 Feb, 2008 1 commit
  3. 26 Sep, 2007 1 commit
  4. 02 May, 2006 1 commit
    • Junio C Hamano's avatar
      write-tree: --prefix=<path> · 6bd20358
      Junio C Hamano authored
      The "bind" commit can express an aggregation of multiple
      projects into a single commit.
      
      In such an organization, there would be one project, root of
      whose tree object is at the same level of the root of the
      aggregated projects, and other projects have their toplevel in
      separate subdirectories.  Let's call that root level project the
      "primary project", and call other ones just "subprojects".
      
      You would first read-tree the primary project, and then graft
      the subprojects under their appropriate location using read-tree
      --prefix=<subdir>/ repeatedly.
      
      To write out a tree object from such an index for a subproject,
      write-tree --prefix=<subdir>/ is used.
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
      6bd20358
  5. 27 Apr, 2006 2 commits
  6. 25 Apr, 2006 1 commit
  7. 24 Apr, 2006 1 commit
    • Junio C Hamano's avatar
      Add cache-tree. · 74986462
      Junio C Hamano authored
      The cache_tree data structure is to cache tree object names that
      would result from the current index file.
      
      The idea is to have an optional file to record each tree object
      name that corresponds to a directory path in the cache when we
      run write_cache(), and read it back when we run read_cache().
      During various index manupulations, we selectively invalidate
      the parts so that the next write-tree can bypass regenerating
      tree objects for unchanged parts of the directory hierarchy.
      
      We could perhaps make the cache-tree data an optional part of
      the index file, but that would involve the index format updates,
      so unless we need it for performance reasons, the current plan
      is to use a separate file, $GIT_DIR/index.aux to store this
      information and link it with the index file with the checksum
      that is already used for index file integrity check.
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
      74986462