1. 20 5月, 2011 1 次提交
  2. 17 5月, 2011 11 次提交
  3. 16 5月, 2011 7 次提交
  4. 15 5月, 2011 1 次提交
  5. 14 5月, 2011 9 次提交
  6. 10 5月, 2011 1 次提交
    • J
      t1507: avoid "${parameter<op>'word'}" inside double-quotes · 365c2aaa
      Junio C Hamano 提交于
      Kacper Kornet noticed that a $variable in "word" in the above construct is
      not substituted by his pdksh.  Modern POSIX compliant shells (e.g. dash,
      ksh, bash) all seem to interpret POSIX "2.6.2 Parameter Expansion" that
      says "word shall be subjected to tilde expansion, parameter expansion,
      command substitution, and arithmetic expansion" in ${parameter<op>word},
      to mean that the word is expanded as if it appeared in dq pairs, so if the
      word were "'$variable'" (sans dq) it would expand to a single quote, the
      value of the $variable and then a single quote.
      
      Johannes Sixt reports that the behavior of quoting at the right of :- when
      the ${...:-...} expansion appears in double-quotes was debated recently at
      length at the Austin group.  We can avoid this issue and future-proof the
      test by a slight rewrite.
      Helped-by: NJohannes Sixt <j.sixt@viscovery.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      365c2aaa
  7. 09 5月, 2011 3 次提交
  8. 07 5月, 2011 1 次提交
    • J
      merge: make branch.<name>.mergeoptions correctly override merge.<option> · 0d8fc3ef
      Junio C Hamano 提交于
      The parsing of the additional command line parameters supplied to
      the branch.<name>.mergeoptions configuration variable was implemented
      at the wrong stage.  If any merge-related variable came after we read
      branch.<name>.mergeoptions, the earlier value was overwritten.
      
      We should first read all the merge.* configuration, override them by
      reading from branch.<name>.mergeoptions and then finally read from
      the command line.
      
      This patch should fix it, even though I now strongly suspect that
      branch.<name>.mergeoptions that gives a single command line that
      needs to be parsed was likely to be an ill-conceived idea to begin
      with.  Sigh...
      Helped-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0d8fc3ef
  9. 06 5月, 2011 6 次提交