1. 29 12月, 2011 17 次提交
  2. 22 12月, 2011 10 次提交
  3. 21 12月, 2011 1 次提交
  4. 19 12月, 2011 2 次提交
    • J
      advice: Document that they all default to true · 26e94af0
      Junio C Hamano 提交于
      By definition, the default value of "advice.*" variables must be true and
      they all control various additional help messages that are designed to aid
      new users. Setting one to false is to tell Git that the user understands
      the nature of the error and does not need the additional verbose help
      message.
      
      Also fix the asciidoc markup for linkgit:git-checkout[1] in the
      description of the detachedHead advice by removing an excess colon.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      26e94af0
    • J
      lf_to_crlf_filter(): resurrect CRLF->CRLF hack · 8496f568
      Junio C Hamano 提交于
      The non-streaming version of the filter counts CRLF and LF in the whole
      buffer, and returns without doing anything when they match (i.e. what is
      recorded in the object store already uses CRLF). This was done to help
      people who added files from the DOS world before realizing they want to go
      cross platform and adding .gitattributes to tell Git that they only want
      CRLF in their working tree.
      
      The streaming version of the filter does not want to read the whole thing
      before starting to work, as that defeats the whole point of streaming. So
      we instead check what byte follows CR whenever we see one, and add CR
      before LF only when the LF does not immediately follow CR already to keep
      CRLF as is.
      
      Reported-and-tested-by: Ralf Thielow
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8496f568
  5. 17 12月, 2011 2 次提交
    • J
      docs: brush up obsolete bits of git-fsck manpage · 28303082
      Jeff King 提交于
      After the description and options, the fsck manpage contains
      some discussion about what it does. Over time, this
      discussion has become somewhat obsolete, both in content and
      formatting. In particular:
      
        1. There are many options now, so starting the discussion
           with "It tests..." makes it unclear whether we are
           talking about the last option, or about the tool in
           general. Let's start a new "discussion" section and
           make our antecedent more clear.
      
        2. It gave an example for --unreachable using for-each-ref
           to mention all of the heads, saying that it will do "a
           _lot_ of verification". This is hopelessly out-of-date,
           as giving no arguments will check much more (reflogs,
           the index, non-head refs).
      
        3. It goes on to mention tests "to be added" (like tree
           object sorting). We now have these tests.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      28303082
    • J
      lf_to_crlf_filter(): tell the caller we added "\n" when draining · 87afe9a5
      Junio C Hamano 提交于
      This can only happen when the input size is multiple of the
      buffer size of the cascade filter (16k) and ends with an LF,
      but in such a case, the code forgot to tell the caller that
      it added the "\n" it could not add during the last round.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      87afe9a5
  6. 15 12月, 2011 2 次提交
  7. 14 12月, 2011 6 次提交
    • J
      Update draft release notes for 1.7.8.1 · 7b6c5836
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7b6c5836
    • J
      Merge branch 'jc/maint-pack-object-cycle' into maint · 2e8722fc
      Junio C Hamano 提交于
      * jc/maint-pack-object-cycle:
        pack-object: tolerate broken packs that have duplicated objects
      
      Conflicts:
      	builtin/pack-objects.c
      2e8722fc
    • J
      Merge branch 'jc/index-pack-reject-dups' into maint · 68f80f54
      Junio C Hamano 提交于
      * jc/index-pack-reject-dups:
        receive-pack, fetch-pack: reject bogus pack that records objects twice
      68f80f54
    • J
      Merge branch 'mf/curl-select-fdset' into maint · fc545433
      Junio C Hamano 提交于
      * mf/curl-select-fdset:
        http: drop "local" member from request struct
        http.c: Rely on select instead of tracking whether data was received
        http.c: Use timeout suggested by curl instead of fixed 50ms timeout
        http.c: Use curl_multi_fdset to select on curl fds instead of just sleeping
      fc545433
    • J
      Merge branch 'nd/misc-cleanups' into maint · df6246ed
      Junio C Hamano 提交于
      * nd/misc-cleanups:
        unpack_object_header_buffer(): clear the size field upon error
        tree_entry_interesting: make use of local pointer "item"
        tree_entry_interesting(): give meaningful names to return values
        read_directory_recursive: reduce one indentation level
        get_tree_entry(): do not call find_tree_entry() on an empty tree
        tree-walk.c: do not leak internal structure in tree_entry_len()
      df6246ed
    • J
      Merge branch 'maint-1.7.7' into maint · 8311158c
      Junio C Hamano 提交于
      * maint-1.7.7:
        Git 1.7.7.5
        Git 1.7.6.5
        blame: don't overflow time buffer
        fetch: create status table using strbuf
        checkout,merge: loosen overwriting untracked file check based on info/exclude
        cast variable in call to free() in builtin/diff.c and submodule.c
        apply: get rid of useless x < 0 comparison on a size_t type
      
      Conflicts:
      	Documentation/git.txt
      	GIT-VERSION-GEN
      	RelNotes
      	builtin/fetch.c
      8311158c