1. 10 4月, 2014 1 次提交
  2. 11 4月, 2013 2 次提交
    • J
      doc/http-backend: give some lighttpd config examples · 3813a33d
      Jeff King 提交于
      The examples in the documentation are all for Apache. Let's
      at least cover the basics: an anonymous server, an
      authenticated server, and a "half auth" server with
      anonymous read and authenticated write.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3813a33d
    • J
      doc/http-backend: clarify "half-auth" repo configuration · fdae1910
      Jeff King 提交于
      When the http-backend is set up to allow anonymous read but
      authenticated write, the http-backend manual suggests
      catching only the "/git-receive-pack" POST of the packfile,
      not the initial "info/refs?service=git-receive-pack" GET in
      which we advertise refs.
      
      This does work and is secure, as we do not allow any write
      during the info/refs request, and the information in the ref
      advertisement is the same that you would get from a fetch.
      
      However, the configuration required by the server is
      slightly more complex. The default `http.receivepack`
      setting is to allow pushes if the webserver tells us that
      the user authenticated, and otherwise to return a 403
      ("Forbidden"). That works fine if authentication is turned
      on completely; the initial request requires authentication,
      and http-backend realizes it is OK to do a push.
      
      But for this "half-auth" state, no authentication has
      occurred during the initial ref advertisement. The
      http-backend CGI therefore does not think that pushing
      should be enabled, and responds with a 403. The client
      cannot continue, even though the server would have allowed
      it to run if it had provided credentials.
      
      It would be much better if the server responded with a 401,
      asking for credentials during the initial contact. But
      git-http-backend does not know about the server's auth
      configuration (so a 401 would be confusing in the case of a
      true anonymous server). Unfortunately, configuring Apache to
      recognize the query string and apply the auth appropriately
      to receive-pack (but not upload-pack) initial requests is
      non-trivial.
      
      The site admin can work around this by just turning on
      http.receivepack explicitly in its repositories. Let's
      document this workaround.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      fdae1910
  3. 08 4月, 2013 2 次提交
  4. 07 4月, 2013 3 次提交
    • J
      Git 1.8.1.6 · 2137ce01
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2137ce01
    • J
      Merge branch 'jc/directory-attrs-regression-fix' into maint-1.8.1 · 4bbb830a
      Junio C Hamano 提交于
      A pattern "dir" (without trailing slash) in the attributes file
      stopped matching a directory "dir" by mistake with an earlier change
      that wanted to allow pattern "dir/" to also match.
      
      * jc/directory-attrs-regression-fix:
        t: check that a pattern without trailing slash matches a directory
        dir.c::match_pathname(): pay attention to the length of string parameters
        dir.c::match_pathname(): adjust patternlen when shifting pattern
        dir.c::match_basename(): pay attention to the length of string parameters
        attr.c::path_matches(): special case paths that end with a slash
        attr.c::path_matches(): the basename is part of the pathname
      4bbb830a
    • T
      remote-helpers/test-bzr.sh: do not use "grep '\s'" · 0e9b3272
      Torsten Bögershausen 提交于
      Using grep "devel\s\+3:" to find at least one whitspace is not
      portable on all grep versions; not all grep versions understand "\s"
      as a "whitespace".
      
      Use a literal TAB followed by SPACE.
      
      The + as a qualifier for "one or more" is not a basic regular
      expression; use egrep instead of grep.
      Signed-off-by: NTorsten Bögershausen <tboegi@web.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0e9b3272
  5. 05 4月, 2013 6 次提交
  6. 04 4月, 2013 11 次提交
    • J
      Update draft release notes to 1.8.2.1 · 19534ee8
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      19534ee8
    • J
      Merge branch 'mg/gpg-interface-using-status' into maint · b771d8d7
      Junio C Hamano 提交于
      Verification of signed tags were not done correctly when not in C
      or en/US locale.
      
      * mg/gpg-interface-using-status:
        pretty: make %GK output the signing key for signed commits
        pretty: parse the gpg status lines rather than the output
        gpg_interface: allow to request status return
        log-tree: rely upon the check in the gpg_interface
        gpg-interface: check good signature in a reliable way
      b771d8d7
    • J
      Merge branch 'bc/commit-complete-lines-given-via-m-option' into maint · 14c79b1f
      Junio C Hamano 提交于
      'git commit -m "$msg"' used to add an extra newline even when
      $msg already ended with one.
      
      * bc/commit-complete-lines-given-via-m-option:
        Documentation/git-commit.txt: rework the --cleanup section
        git-commit: only append a newline to -m mesg if necessary
        t7502: demonstrate breakage with a commit message with trailing newlines
        t/t7502: compare entire commit message with what was expected
      14c79b1f
    • J
      Merge branch 'jc/describe' into maint · 295e3938
      Junio C Hamano 提交于
      The "--match=<pattern>" option of "git describe", when used with
      "--all" to allow refs that are not annotated tags to be used as a
      base of description, did not restrict the output from the command to
      those that match the given pattern.
      
      * jc/describe:
        describe: --match=<pattern> must limit the refs even when used with --all
      295e3938
    • J
      Merge branch 'jk/alias-in-bare' into maint · eeecf393
      Junio C Hamano 提交于
      An aliased command spawned from a bare repository that does not say
      it is bare with "core.bare = yes" is treated as non-bare by mistake.
      
      * jk/alias-in-bare:
        setup: suppress implicit "." work-tree for bare repos
        environment: add GIT_PREFIX to local_repo_env
        cache.h: drop LOCAL_REPO_ENV_SIZE
      eeecf393
    • J
      Merge branch 'ks/rfc2047-one-char-at-a-time' into maint · e6658b9d
      Junio C Hamano 提交于
      When "format-patch" quoted a non-ascii strings on the header files,
      it incorrectly applied rfc2047 and chopped a single character in the
      middle of it.
      
      * ks/rfc2047-one-char-at-a-time:
        format-patch: RFC 2047 says multi-octet character may not be split
      e6658b9d
    • J
      Merge branch 'jk/empty-archive' into maint · a9dc3b64
      Junio C Hamano 提交于
      "git archive" reports a failure when asked to create an archive out
      of an empty tree.  It would be more intuitive to give an empty
      archive back in such a case.
      
      * jk/empty-archive:
        archive: handle commits with an empty tree
        test-lib: factor out $GIT_UNZIP setup
      a9dc3b64
    • J
      Merge branch 'ph/tag-force-no-warn-on-creation' into maint · 9e72a566
      Junio C Hamano 提交于
      "git tag -f <tag>" always said "Updated tag '<tag>'" even when
      creating a new tag (i.e. not overwriting nor updating).
      
      * ph/tag-force-no-warn-on-creation:
        tag: --force does not have to warn when creating tags
      9e72a566
    • J
      Merge branch 'lf/setup-prefix-pathspec' into maint · fa0a6a48
      Junio C Hamano 提交于
      "git cmd -- ':(top'" was not diagnosed as an invalid syntax, and
      instead the parser kept reading beyond the end of the string.
      
      * lf/setup-prefix-pathspec:
        setup.c: check that the pathspec magic ends with ")"
        setup.c: stop prefix_pathspec() from looping past the end of string
      fa0a6a48
    • J
      Sync with 1.8.1 maintenance track · 92e0d916
      Junio C Hamano 提交于
      * maint-1.8.1:
        Start preparing for 1.8.1.6
        git-tag(1): we tag HEAD by default
        Fix revision walk for commits with the same dates
        t2003: work around path mangling issue on Windows
        pack-refs: add fully-peeled trait
        pack-refs: write peeled entry for non-tags
        use parse_object_or_die instead of die("bad object")
        avoid segfaults on parse_object failure
        entry: fix filter lookup
        t2003: modernize style
        name-hash.c: fix endless loop with core.ignorecase=true
      92e0d916
    • J
      Start preparing for 1.8.1.6 · 072dda68
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      072dda68
  7. 03 4月, 2013 11 次提交
  8. 02 4月, 2013 4 次提交