git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/4] pull: use --quiet rather than 2>/dev/null

From
BMBenjamin C Meyer <bmeyer@rim.com>
Date
Mar 20, 2010, 02:18 UTC
Message-ID
<1269051518-25099-2-git-send-email-bmeyer@rim.com>
In-Reply-To
<1269051518-25099-1-git-send-email-bmeyer@rim.com>
Signed-off-by: Benjamin C Meyer <bmeyer@rim.com>
---
 git-pull.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-pull.sh b/git-pull.sh
index d45b50c..08dac0a 100755
--- a/git-pull.sh
+++ b/git-pull.sh
@@ -206,7 +206,7 @@ test true = "$rebase" && {
 	. git-parse-remote &&
 	remoteref="$(get_remote_merge_branch "$@" 2>/dev/null)" &&
 	oldremoteref="$(git rev-parse -q --verify "$remoteref")" &&
-	for reflog in $(git rev-list -g $remoteref 2>/dev/null)
+	for reflog in $(git rev-list --quiet -g $remoteref)
 	do
 		if test "$reflog" = "$(git merge-base $reflog $curr_branch)"
 		then
-- 
1.7.0.2
Previous: Benjamin C MeyerNext: Jonathan Nieder
Message 2 of 9 in “stash: use --quiet rather than using 2>/dev/null”
  1. 1/4 stash: use --quiet rather than using 2>/dev/nullBenjamin C Meyer, Mar 20, 2010
  2. 2/4 pull: use --quiet rather than 2>/dev/nullBenjamin C Meyer, Mar 20, 2010
  3. Jonathan NiederMar 20, 2010
  4. Benjamin MeyerMar 20, 2010
  5. Jonathan NiederMar 21, 2010
  6. Benjamin MeyerMar 21, 2010
  7. Jonathan NiederMar 23, 2010
  8. 3/4 rebase: use --quiet rather than 2>/dev/nullBenjamin C Meyer, Mar 20, 2010
  9. 4/4 rebase-interactive: use --quiet rather than 2>/dev/nullBenjamin C Meyer, Mar 20, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.