1. 26 2月, 2013 29 次提交
  2. 25 2月, 2013 1 次提交
  3. 21 2月, 2013 1 次提交
    • J
      Makefile: avoid infinite loop on configure.ac change · 7f1b6976
      Jeff King 提交于
      If you are using autoconf and change the configure.ac, the
      Makefile will notice that config.status is older than
      configure.ac, and will attempt to rebuild and re-run the
      configure script to pick up your changes. The first step in
      doing so is to run "make configure". Unfortunately, this
      tries to include config.mak.autogen, which depends on
      config.status, which depends on configure.ac; so we must
      rebuild config.status. Which leads to us running "make
      configure", and so on.
      
      It's easy to demonstrate with:
      
        make configure
        ./configure
        touch configure.ac
        make
      
      We can break this cycle by not re-invoking make to build
      "configure", and instead just putting its rules inline into
      our config.status rebuild procedure.  We can avoid a copy by
      factoring the rules into a make variable.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7f1b6976
  4. 20 2月, 2013 9 次提交
    • 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
    • T
      c527aceb
    • 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
    • W
      user-manual: Flesh out uncommitted changes and submodule updates · 91486733
      W. Trevor King 提交于
      If you try and update a submodule with a dirty working directory, you
      get an error message like:
      
        $ git submodule update
        error: Your local changes to the following files would be overwritten by checkout:
        ...
        Please, commit your changes or stash them before you can switch branches.
        Aborting
        ...
      
      Mention this in the submodule notes.  The previous phrase was short
      enough that I originally thought it might have been referring to the
      reflog note (obviously, uncommitted changes will not show up in the
      reflog either ;).
      Signed-off-by: NW. Trevor King <wking@tremily.us>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      91486733