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

[PATCH 09/10] pull: learn --progress

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Feb 18, 2010, 12:37 UTC
Message-ID
<1266496631-3980-10-git-send-email-rctay89@gmail.com>
In-Reply-To
<1266496631-3980-1-git-send-email-rctay89@gmail.com>
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
---
 git-pull.sh |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/git-pull.sh b/git-pull.sh
index 38331a8..d45b50c 100755
--- a/git-pull.sh
+++ b/git-pull.sh
@@ -38,7 +38,7 @@ test -z "$(git ls-files -u)" || die_conflict
 test -f "$GIT_DIR/MERGE_HEAD" && die_merge
 
 strategy_args= diffstat= no_commit= squash= no_ff= ff_only=
-log_arg= verbosity=
+log_arg= verbosity= progress=
 merge_args=
 curr_branch=$(git symbolic-ref -q HEAD)
 curr_branch_short=$(echo "$curr_branch" | sed "s|refs/heads/||")
@@ -50,6 +50,8 @@ do
 		verbosity="$verbosity -q" ;;
 	-v|--verbose)
 		verbosity="$verbosity -v" ;;
+	--progress)
+		progress=--progress ;;
 	-n|--no-stat|--no-summary)
 		diffstat=--no-stat ;;
 	--stat|--summary)
@@ -214,7 +216,7 @@ test true = "$rebase" && {
 	done
 }
 orig_head=$(git rev-parse -q --verify HEAD)
-git fetch $verbosity --update-head-ok "$@" || exit 1
+git fetch $verbosity $progress --update-head-ok "$@" || exit 1
 
 curr_head=$(git rev-parse -q --verify HEAD)
 if test -n "$orig_head" && test "$curr_head" != "$orig_head"
-- 
1.7.0.27.g5d71b
Previous: Tay Ray ChuanNext: Tay Ray Chuan
Message 12 of 16 in “teach --progress to transport-related builtins”
  1. 00/10 teach --progress to transport-related builtinsTay Ray Chuan, Feb 18, 2010
  2. 01/10 Documentation/git-pull.txt: mention --quiet and --verbose for fetchingTay Ray Chuan, Feb 18, 2010
  3. Junio C HamanoFeb 18, 2010
  4. Tay Ray ChuanFeb 19, 2010
  5. 02/10 Documentation/git-push.txt: put --quiet before --verboseTay Ray Chuan, Feb 18, 2010
  6. 03/10 fetch: refactor verbosity option handling into transport.[ch]Tay Ray Chuan, Feb 18, 2010
  7. 04/10 push: support multiple levels of verbosityTay Ray Chuan, Feb 18, 2010
  8. 05/10 clone: support multiple levels of verbosityTay Ray Chuan, Feb 18, 2010
  9. 06/10 transport->progress: use flag authoritativelyTay Ray Chuan, Feb 18, 2010
  10. 07/10 push: learn --progressTay Ray Chuan, Feb 18, 2010
  11. 08/10 fetch: learn --progressTay Ray Chuan, Feb 18, 2010
  12. 09/10 pull: learn --progressTay Ray Chuan, Feb 18, 2010
  13. 10/10 transport: update flags to be in running orderTay Ray Chuan, Feb 18, 2010
  14. Junio C HamanoFeb 19, 2010
  15. Tay Ray ChuanFeb 19, 2010
  16. Jeff KingFeb 19, 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.