1. 25 8月, 2008 2 次提交
  2. 24 8月, 2008 2 次提交
    • M
      Makefile: enable SNPRINTF_RETURNS_BOGUS for HP-UX · 7d770163
      Miklos Vajna 提交于
      In 81cc66a5, customization has been added to Makefile for supporting
      HP-UX, but git commit is still problematic. This should fix the issue.
      Signed-off-by: NMiklos Vajna <vmiklos@frugalware.org>
      Acked-by: NRobert Schiele <rschiele@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7d770163
    • J
      unpack_trees(): protect the handcrafted in-core index from read_cache() · 913e0e99
      Junio C Hamano 提交于
      unpack_trees() rebuilds the in-core index from scratch by allocating a new
      structure and finishing it off by copying the built one to the final
      index.
      
      The resulting in-core index is Ok for most use, but read_cache() does not
      recognize it as such.  The function is meant to be no-op if you already
      have loaded the index, until you call discard_cache().
      
      This change the way read_cache() detects an already initialized in-core
      index, by introducing an extra bit, and marks the handcrafted in-core
      index as initialized, to avoid this problem.
      
      A better fix in the longer term would be to change the read_cache() API so
      that it will always discard and re-read from the on-disk index to avoid
      confusion.  But there are higher level API that have relied on the current
      semantics, and they and their users all need to get converted, which is
      outside the scope of 'maint' track.
      
      An example of such a higher level API is write_cache_as_tree(), which is
      used by git-write-tree as well as later Porcelains like git-merge, revert
      and cherry-pick.  In the longer term, we should remove read_cache() from
      there and add one to cmd_write_tree(); other callers expect that the
      in-core index they prepared is what gets written as a tree so no other
      change is necessary for this particular codepath.
      
      The original version of this patch marked the index by pointing an
      otherwise wasted malloc'ed memory with o->result.alloc, but this version
      uses Linus's idea to use a new "initialized" bit, which is conceptually
      much cleaner.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      913e0e99
  3. 23 8月, 2008 2 次提交
  4. 22 8月, 2008 1 次提交
  5. 21 8月, 2008 11 次提交
  6. 20 8月, 2008 3 次提交
  7. 19 8月, 2008 3 次提交
  8. 18 8月, 2008 4 次提交
    • J
      Start 1.6.0.X maintenance series · dba9194a
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      dba9194a
    • J
      GIT 1.6.0 · ea02eef0
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ea02eef0
    • J
      Merge git-gui 0.11.0 · 373a2733
      Junio C Hamano 提交于
      373a2733
    • J
      Merge branch 'ak/p4' · a1975c4f
      Junio C Hamano 提交于
      * ak/p4:
        Utilise our new p4_read_pipe and p4_write_pipe wrappers
        Add p4 read_pipe and write_pipe wrappers
        Put in the two other configuration elements found in the source
        Put some documentation in about the parameters that have been added
        Move git-p4.syncFromOrigin into a configuration parameters section
        Consistently use 'git-p4' for the configuration entries
        If the user has configured various parameters, use them.
        Switch to using 'p4_build_cmd'
        If we are in verbose mode, output what we are about to run (or return)
        Add a single command that will be used to construct the 'p4' command
        Utilise the new 'p4_system' function.
        Have a command that specifically invokes 'p4' (via system)
        Utilise the new 'p4_read_pipe_lines' command
        Create a specific version of the read_pipe_lines command for p4 invocations
      
      Conflicts:
      	contrib/fast-import/git-p4
      a1975c4f
  9. 17 8月, 2008 4 次提交
  10. 16 8月, 2008 6 次提交
  11. 15 8月, 2008 2 次提交