1. 05 3月, 2010 2 次提交
  2. 26 2月, 2010 1 次提交
  3. 17 2月, 2010 2 次提交
    • J
      Merge branch 'maint-1.6.5' into maint-1.6.6 · eb0bcd0f
      Junio C Hamano 提交于
      * maint-1.6.5:
        dwim_ref: fix dangling symref warning
        stash pop: remove 'apply' options during 'drop' invocation
        diff: make sure --output=/bad/path is caught
      eb0bcd0f
    • J
      dwim_ref: fix dangling symref warning · 003c6abd
      Jeff King 提交于
      If we encounter a symref that is dangling, in most cases we will warn
      about it. The one exception is a dangling HEAD, as that indicates a
      branch yet to be born.
      
      However, the check in dwim_ref was not quite right. If we were fed
      something like "HEAD^0" we would try to resolve "HEAD", see that it is
      dangling, and then check whether the _original_ string we got was
      "HEAD" (which it wasn't in this case). And that makes no sense; the
      dangling thing we found was not "HEAD^0" but rather "HEAD".
      
      Fixing this squelches a scary warning from "submodule summary HEAD" (and
      consequently "git status" with status.submodulesummary set) in an empty
      repo, as the submodule script calls "git rev-parse -q --verify HEAD^0".
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      003c6abd
  4. 16 2月, 2010 3 次提交
  5. 14 2月, 2010 1 次提交
  6. 13 2月, 2010 2 次提交
  7. 12 2月, 2010 1 次提交
  8. 11 2月, 2010 12 次提交
  9. 09 2月, 2010 8 次提交
  10. 08 2月, 2010 1 次提交
    • R
      archive: simplify archive format guessing · fe12d8e8
      René Scharfe 提交于
      The code to guess an output archive's format consumed any --format
      options and built a new one.  Jonathan noticed that it does so in an
      unsafe way, risking to overflow the static buffer fmt_opt.
      
      Change the code to keep the existing --format options intact and to only
      add a new one if a format could be guessed based on the output file name.
      The new option is added as the first one, allowing the existing ones to
      overrule it, i.e. explicit --format options given on the command line win
      over format guesses, as before.
      
      To simplify the code further, format_from_name() is changed to return the
      full --format option, thus no potentially dangerous sprintf() calls are
      needed any more.
      Reported-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NRene Scharfe <rene.scharfe@lsrfire.ath.cx>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      fe12d8e8
  11. 06 2月, 2010 2 次提交
  12. 02 2月, 2010 1 次提交
  13. 01 2月, 2010 2 次提交
  14. 30 1月, 2010 2 次提交