1. 26 2月, 2013 3 次提交
    • J
      Merge branch 'as/check-ignore' · ef94636a
      Junio C Hamano 提交于
      "git check-ignore ." segfaulted, as a function it calls deep in its
      callchain took a string in the <ptr, length> form but did not stop
      when given an empty string.
      
      * as/check-ignore:
        name-hash: allow hashing an empty string
        t0008: document test_expect_success_multi
      ef94636a
    • J
      Merge branch 'ct/autoconf-htmldir' · a2b109f2
      Junio C Hamano 提交于
      An earlier change to config.mak.autogen broke a build driven by the
      ./configure script when --htmldir is not specified on the command
      line of ./configure.
      
      * ct/autoconf-htmldir:
        Bugfix: undefined htmldir in config.mak.autogen
      a2b109f2
    • J
      Merge branch 'wk/man-deny-current-branch-is-default-these-days' · 6368a71b
      Junio C Hamano 提交于
      * wk/man-deny-current-branch-is-default-these-days:
        user-manual: typofix (ofthe->of the)
      6368a71b
  2. 20 2月, 2013 8 次提交
    • J
      Sync with v1.8.1.4 · b3600c36
      Junio C Hamano 提交于
      b3600c36
    • J
      Git 1.8.1.4 · dff9f883
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      dff9f883
    • J
      Merge branch 'ob/imap-send-ssl-verify' into maint · 0ee7198f
      Junio C Hamano 提交于
      * ob/imap-send-ssl-verify:
        imap-send: support subjectAltName as well
        imap-send: the subject of SSL certificate must match the host
        imap-send: move #ifdef around
      0ee7198f
    • O
      imap-send: support subjectAltName as well · e174744a
      Oswald Buddenhagen 提交于
      Check not only the common name of the certificate subject, but also
      check the subject alternative DNS names as well, when verifying that
      the certificate matches that of the host we are trying to talk to.
      Signed-off-by: NOswald Buddenhagen <ossi@kde.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e174744a
    • O
      imap-send: the subject of SSL certificate must match the host · b62fb077
      Oswald Buddenhagen 提交于
      We did not check a valid certificate's subject at all, and would
      have happily talked with a wrong host after connecting to an
      incorrect address and getting a valid certificate that does not
      belong to the host we intended to talk to.
      Signed-off-by: NOswald Buddenhagen <ossi@kde.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b62fb077
    • J
      Bugfix: undefined htmldir in config.mak.autogen · 55d9bf0a
      Jiang Xin 提交于
      Html documents will be installed to root dir (/) no matter what prefix
      is set, if run these commands before `make` and `make install-html`:
      
          $ make configure
          $ ./configure --prefix=<PREFIX>
      
      After the installation, all the html documents will copy to rootdir (/),
      and:
      
          $ git --html-path
          <PREFIX>
      
          $ git help -w something
          fatal: '<PREFIX>': not a documentation directory.
      
      This is because the variable "htmldir" points to a undefined variable
      "$(docdir)" in file "config.mak.autogen", which is generated by running
      `./configure`. By default $(docdir) generated by configure is supposed
      be set this way:
      
              datarootdir='${prefix}/share'
              htmldir='${docdir}'
              docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
      
      but since fc1c5415 (Honor configure's htmldir switch, 2013-02-02),
      we only set and export htmldir without doing so for PACKAGE_TARNAME
      (which is set to 'git' by the configure script).
      
      Add the required two variables "PACKAGE_TARNAME" and "docdir" to file
      "config.mak.in" will work this issue around.
      Signed-off-by: NJiang Xin <worldhello.net@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      55d9bf0a
    • J
      name-hash: allow hashing an empty string · c19387e7
      Junio C Hamano 提交于
      Usually we do not pass an empty string to the function hash_name()
      because we almost always ask for hash values for a path that is a
      candidate to be added to the index. However, check-ignore (and most
      likely check-attr, but I didn't check) apparently has a callchain
      to ask the hash value for an empty path when it was given a "." from
      the top-level directory to ask "Is the path . excluded by default?"
      
      Make sure that hash_name() does not overrun the end of the given
      pathname even when it is empty.
      
      Remove a sweep-the-issue-under-the-rug conditional in check-ignore
      that avoided to pass an empty string to the callchain while at it.
      It is a valid question to ask for check-ignore if the top-level is
      set to be ignored by default, even though the answer is most likely
      no, if only because there is currently no way to specify such an
      entry in the .gitignore file. But it is an unusual thing to ask and
      it is not worth optimizing for it by special casing at the top level
      of the call chain.
      Signed-off-by: NAdam Spiers <git@adamspiers.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      c19387e7
    • A
      t0008: document test_expect_success_multi · 68666546
      Adam Spiers 提交于
      test_expect_success_multi() helper function warrants some explanation,
      since at first sight it may seem like generic test framework plumbing,
      but is in fact specific to testing check-ignore, and allows more
      thorough testing of the various output formats without significantly
      increase the size of t0008.
      Signed-off-by: NAdam Spiers <git@adamspiers.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      68666546
  3. 19 2月, 2013 6 次提交
  4. 18 2月, 2013 14 次提交
  5. 17 2月, 2013 1 次提交
  6. 16 2月, 2013 2 次提交
  7. 15 2月, 2013 6 次提交