1. 19 9月, 2013 2 次提交
    • J
      clone: treat "checking connectivity" like other progress · 2856cbf0
      Jeff King 提交于
      When stderr does not point to a tty, we typically suppress
      "we are now in this phase" progress reporting (e.g., we ask
      the server not to send us "counting objects" and the like).
      
      The new "checking connectivity" message is in the same vein,
      and should be suppressed. Since clone relies on the
      transport code to make the decision, we can simply sneak a
      peek at the "progress" field of the transport struct. That
      properly takes into account both the verbosity and progress
      options we were given, as well as the result of isatty().
      
      Note that we do not set up that progress flag for a local
      clone, as we do not fetch using the transport at all. That's
      acceptable here, though, because we also do not perform a
      connectivity check in that case.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2856cbf0
    • J
      clone: send diagnostic messages to stderr · 68b939b2
      Jeff King 提交于
      Putting messages like "Cloning into.." and "done" on stdout
      is un-Unix and uselessly clutters the stdout channel. Send
      them to stderr.
      
      We have to tweak two tests to accommodate this:
      
        1. t5601 checks for doubled output due to forking, and
           doesn't actually care where the output goes; adjust it
           to check stderr.
      
        2. t5702 is trying to test whether progress output was
           sent to stderr, but naively does so by checking
           whether stderr produced any output. Instead, have it
           look for "%", a token found in progress output but not
           elsewhere (and which lets us avoid hard-coding the
           progress text in the test).
      
      This should not regress any scripts that try to parse the
      current output, as the output is already internationalized
      and therefore unstable.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      68b939b2
  2. 24 8月, 2013 1 次提交
  3. 22 8月, 2013 1 次提交
  4. 20 8月, 2013 1 次提交
  5. 15 8月, 2013 2 次提交
    • J
      Revert "Add new @ shortcut for HEAD" · 2c2b6646
      Junio C Hamano 提交于
      This reverts commit cdfd9483, as it
      does not just apply to "@" (and forms with modifiers like @{u}
      applied to it), but also affects e.g. "refs/heads/@/foo", which it
      shouldn't.
      
      The basic idea of giving a short-hand might be good, and the topic
      can be retried later, but let's revert to avoid affecting existing
      use cases for now for the upcoming release.
      2c2b6646
    • J
      Revert "git stash: avoid data loss when "git stash save" kills a directory" · c1ebd90c
      Junio C Hamano 提交于
      This reverts commit a7365313, as it
      has been reported that "ls-files --killed" is too time-consuming in
      a deep directory with too many untracked crufts (e.g. $HOME/.git
      tracking only a few files).
      
      We'd need to revisit it later but "ls-files --killed" needs to be
      optimized before it happens.
      c1ebd90c
  6. 14 8月, 2013 6 次提交
  7. 11 8月, 2013 2 次提交
  8. 10 8月, 2013 7 次提交
  9. 09 8月, 2013 3 次提交
  10. 08 8月, 2013 2 次提交
  11. 06 8月, 2013 13 次提交