1. 14 8月, 2008 6 次提交
  2. 13 8月, 2008 11 次提交
  3. 12 8月, 2008 8 次提交
  4. 11 8月, 2008 5 次提交
  5. 10 8月, 2008 1 次提交
  6. 09 8月, 2008 9 次提交
    • J
      Merge branch 'maint' · 0bb3a0ba
      Junio C Hamano 提交于
      * maint:
        asciidoc markup fixes
        Fail properly when cloning from invalid HTTP URL
      
      Conflicts:
      	Documentation/git-push.txt
      0bb3a0ba
    • J
      mailinfo: fix MIME multi-part message boundary handling · a9fd1383
      Junio C Hamano 提交于
      After finding a MIME multi-part message boundary line, the handle_body()
      function is supposed to first flush any accumulated contents from the
      previous part to the output stream.  However, the code mistakenly output
      the boundary line it found.
      
      The old code that used one global, fixed-length buffer line[] used an
      alternate static buffer newline[] for keeping track of this accumulated
      contents and flushed newline[] upon seeing the boundary; when 3b6121f6
      (git-mailinfo: use strbuf's instead of fixed buffers, 2008-07-13)
      converted a fixed-length buffer in this program to use strbuf,these two
      buffers were converted to "line" and "prev" (the latter of which now has a
      much more sensible name) strbufs, but the code mistakenly flushed "line"
      (which contains the boundary we have just found), instead of "prev".
      
      This resulted in the first boundary to be output in front of the first
      line of the message.
      
      The rewritten implementation of handle_boundary() lost the terminating
      newline; this would then result in the second line of the message to be
      stuck with the first line.
      
      The is_multipart_boundary() was designed to catch both the internal
      boundary and the terminating one (the one with trailing "--"); this also
      was broken with the rewrite, and the code in the handle_boundary() to
      handle the terminating boundary was never triggered.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a9fd1383
    • P
      builtin-rm: Add a --force flag · 01144f20
      Pieter de Bie 提交于
      This adds a --force flag to git-rm, making it somewhat easier for
      subversion people to switch.
      Signed-off-by: NPieter de Bie <pdebie@ai.rug.nl>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      01144f20
    • E
      git-svn: wrap long lines in a few places · 222566e4
      Eric Wong 提交于
      Oops, I let a few patches slip by with long lines in them.
      Extracted from an unrelated patch by: Marcus Griep <marcus@griep.us>
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      222566e4
    • M
      git-svn: Allow deep branch names by supporting multi-globs · 570d35c2
      Marcus Griep 提交于
      Some repositories use a deep branching strategy, such as:
      
          branches/1.0/1.0.rc1
          branches/1.0/1.0.rc2
          branches/1.0/1.0.rtm
          branches/1.0/1.0.gold
      
      Only allowing a single glob stiffles this.
      
      This change allows for a single glob 'set' to accept this deep
      branching strategy.
      
      The ref glob depth must match the branch glob depth.  When using
      the -b or -t options for init or clone, this is automatically
      done.
      
      For example, using the above branches:
      
        svn-remote.svn.branches = branches/*/*:refs/remote/*/*
      
      gives the following branch names:
      
        1.0/1.0.rc1
        1.0/1.0.rc2
        1.0/1.0.rtm
        1.0/1.0.gold
      
      [ew:
        * removed unrelated line-wrapping changes
        * fixed line-wrapping in a few more places
        * removed trailing whitespace
        * fixed bashism in test
        * removed unnecessary httpd startup in test
        * changed copyright on tests to 2008 Marcus Griep
        * added executable permissions to new tests
      ]
      Signed-off-by: NMarcus Griep <marcus@griep.us>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      570d35c2
    • M
      Fix multi-glob assertion in git-svn · b47ddefe
      Marcus Griep 提交于
      Fixes bad regex match check for multiple globs (would always return
      one glob regardless of actual number).
      
      [ew: fixed a bashism in the test and some minor line-wrapping]
      Signed-off-by: NMarcus Griep <marcus@griep.us>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b47ddefe
    • T
      filter-branch: be more helpful when an annotated tag changes · 261044e8
      Thomas Rast 提交于
      Previously, git-filter-branch failed if it attempted to update an
      annotated tag.  Now we ignore this condition if --tag-name-filter is
      given, so that we can later rewrite the tag.  If no such option was
      provided, we warn the user that he might want to run with
      "--tag-name-filter cat" to achieve the intended effect.
      Signed-off-by: NThomas Rast <trast@student.ethz.ch>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      261044e8
    • T
      Documentation: filter-branch: document how to filter all refs · 8afa4210
      Thomas Rast 提交于
      Document the '--' option that can be used to pass rev-list options
      (not just arguments), and give an example usage of '-- --all'.  Remove
      reference to "the new branch name"; filter-branch takes arbitrary
      arguments to rev-list since dfd05e38.
      Signed-off-by: NThomas Rast <trast@student.ethz.ch>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8afa4210
    • B
      Makefile: add a target which will abort compilation with ancient shells · 6dc4627e
      Brandon Casey 提交于
      This adds a make target which can be used to try to execute certain shell
      constructs which are required for compiling and running git.
      
      This patch provides a test for the $() notation for command substition
      which is used in the Makefile and extensively in the git scripts.
      
      The make target is named in such a way as to be a hint to the user that
      SHELL_PATH should be set to an appropriate shell. If the shell command
      fails, the user should receive a message similar to the following:
      
      make: *** [please_set_SHELL_PATH_to_a_more_modern_shell] Error 2
      Signed-off-by: NBrandon Casey <casey@nrlssc.navy.mil>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      6dc4627e