Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 30, 2011
  1. @gitster

    Merge branch 'jm/maint-misc-fix' into maint

    gitster authored
    * jm/maint-misc-fix:
      read_gitfile_gently: use ssize_t to hold read result
      remove tests of always-false condition
      rerere.c: diagnose a corrupt MERGE_RR when hitting EOF between TAB and '\0'
Commits on Nov 11, 2008
  1. @gitster

    Merge branch 'maint'

    gitster authored
    * maint:
      Fix non-literal format in printf-style calls
      git-submodule: Avoid printing a spurious message.
      git ls-remote: make usage string match manpage
      Makefile: help people who run 'make check' by mistake
Commits on Mar 5, 2008
  1. @gitster

    fsck.c: fix bogus "empty tree" check

    gitster authored
    ba002f3 (builtin-fsck: move common object checking code to fsck.c) did
    more than what it claimed to.  Most notably, it wrongly made an empty tree
    object an error by pretending to only move code from fsck_tree() in
    builtin-fsck.c to fsck_tree() in fsck.c, but in fact adding a bogus check
    to barf on an empty tree.
    
    An empty tree object is _unusual_.  Recent porcelains try reasonably hard
    not to let the user create a commit that contains such a tree.  Perhaps
    warning about them in git-fsck may have some merit.
    
    HOWEVER.
    
    Being unusual and being errorneous are two quite different things.  This
    is especially true now we seem to use the same fsck_$object() code in
    places other than git-fsck itself.  For example, receive-pack should not
    reject unusual objects, even if it would be a good idea to tighten it to
    reject incorrect ones.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.