1. 04 11月, 2015 3 次提交
    • J
      Merge branch 'ld/p4-import-labels' into maint · 04bba3a1
      Junio C Hamano 提交于
      Correct "git p4 --detect-labels" so that it does not fail to create
      a tag that points at a commit that is also being imported.
      
      * ld/p4-import-labels:
        git-p4: fix P4 label import for unprocessed commits
        git-p4: do not terminate creating tag for unknown commit
        git-p4: failing test for ignoring invalid p4 labels
      04bba3a1
    • J
      Merge branch 'tk/stripspace' into maint · e23469f9
      Junio C Hamano 提交于
      The internal stripspace() function has been moved to where it
      logically belongs to, i.e. strbuf API, and the command line parser
      of "git stripspace" has been updated to use the parse_options API.
      
      * tk/stripspace:
        stripspace: use parse-options for command-line parsing
        strbuf: make stripspace() part of strbuf
      e23469f9
    • J
      Merge branch 'jk/repository-extension' into maint · f89baca1
      Junio C Hamano 提交于
      Prepare for Git on-disk repository representation to undergo
      backward incompatible changes by introducing a new repository
      format version "1", with an extension mechanism.
      
      * jk/repository-extension:
        introduce "preciousObjects" repository extension
        introduce "extensions" form of core.repositoryformatversion
      f89baca1
  2. 21 10月, 2015 4 次提交
    • J
      Merge branch 'js/gc-with-stale-symref' into maint · b05c2f9e
      Junio C Hamano 提交于
      "git gc" used to barf when a symbolic ref has gone dangling
      (e.g. the branch that used to be your upstream's default when you
      cloned from it is now gone, and you did "fetch --prune").
      
      * js/gc-with-stale-symref:
        pack-objects: do not get distracted by broken symrefs
        gc: demonstrate failure with stale remote HEAD
      b05c2f9e
    • J
      Merge branch 'rd/test-path-utils' into maint · 3b7c49e9
      Junio C Hamano 提交于
      The normalize_ceiling_entry() function does not muck with the end
      of the path it accepts, and the real world callers do rely on that,
      but a test insisted that the function drops a trailing slash.
      
      * rd/test-path-utils:
        test-path-utils.c: remove incorrect assumption
      3b7c49e9
    • J
      Merge branch 'jc/doc-gc-prune-now' into maint · ce555f38
      Junio C Hamano 提交于
      "git gc" is safe to run anytime only because it has the built-in
      grace period to protect young objects.  In order to run with no
      grace period, the user must make sure that the repository is
      quiescent.
      
      * jc/doc-gc-prune-now:
        Documentation/gc: warn against --prune=<now>
      ce555f38
    • J
      Merge branch 'jk/filter-branch-use-of-sed-on-incomplete-line' into maint · 44a9b53c
      Junio C Hamano 提交于
      A recent "filter-branch --msg-filter" broke skipping of the commit
      object header, which is fixed.
      
      * jk/filter-branch-use-of-sed-on-incomplete-line:
        filter-branch: remove multi-line headers in msg filter
      44a9b53c
  3. 19 10月, 2015 1 次提交
  4. 17 10月, 2015 26 次提交
  5. 15 10月, 2015 1 次提交
  6. 13 10月, 2015 1 次提交
    • J
      filter-branch: remove multi-line headers in msg filter · a5a4b3ff
      James McCoy 提交于
      df062010 (filter-branch: avoid passing commit message through sed)
      introduced a regression when filtering commits with multi-line headers,
      if the header contains a blank line.  An example of this is a gpg-signed
      commit:
      
        $ git cat-file commit signed-commit
        tree 3d4038e029712da9fc59a72afbfcc90418451630
        parent 110eac945dc1713b27bdf49e74e5805db66971f0
        author A U Thor <author@example.com> 1112912413 -0700
        committer C O Mitter <committer@example.com> 1112912413 -0700
        gpgsig -----BEGIN PGP SIGNATURE-----
         Version: GnuPG v1
      
         iEYEABECAAYFAlYXADwACgkQE7b1Hs3eQw23CACgldB/InRyDgQwyiFyMMm3zFpj
         pUsAnA+f3aMUsd9mNroloSmlOgL6jIMO
         =0Hgm
         -----END PGP SIGNATURE-----
      
        Adding gpg
      
      As a consequence, "filter-branch --msg-filter cat" (which should leave the
      commit message unchanged) spills the signature (after the internal blank
      line) into the original commit message.
      
      The reason is that although the signature is indented, making the line a
      whitespace only line, the "read" call is splitting the line based on
      the shell's IFS, which defaults to <space><tab><newline>.  The leading
      space is consumed and $header_line is empty, causing the "skip header
      lines" loop to exit.
      
      The rest of the commit object is then re-used as the rewritten commit
      message, causing the new message to include the signature of the
      original commit.
      
      Set IFS to an empty string for the "read" call, thus disabling the word
      splitting, which causes $header_line to be set to the non-empty value ' '.
      This allows the loop to fully consume the header lines before
      emitting the original, intact commit message.
      
      [jc: this is literally based on MJG's suggestion]
      Signed-off-by: NMichael J Gruber <git@drmicha.warpmail.net>
      Signed-off-by: NJames McCoy <vega.james@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a5a4b3ff
  7. 09 10月, 2015 2 次提交
  8. 08 10月, 2015 2 次提交