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

[PATCH v2 3/7] http-push: remove "|| 1" to enable verbose check

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Mar 2, 2010, 10:49 UTC
Message-ID
<1267526971-5552-4-git-send-email-rctay89@gmail.com>
In-Reply-To
<1267526971-5552-1-git-send-email-rctay89@gmail.com>
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
---
 http-push.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/http-push.c b/http-push.c
index 432b20f..415b1ab 100644
--- a/http-push.c
+++ b/http-push.c
@@ -1965,7 +1965,7 @@ int main(int argc, char **argv)
 		}
 
 		if (!hashcmp(ref->old_sha1, ref->peer_ref->new_sha1)) {
-			if (push_verbosely || 1)
+			if (push_verbosely)
 				fprintf(stderr, "'%s': up-to-date\n", ref->name);
 			if (helper_status)
 				printf("ok %s up to date\n", ref->name);
-- 
1.7.0.26.gbfa16
Previous: Tay Ray ChuanNext: Tay Ray Chuan
Message 4 of 9 in “http: minor improvements”
  1. 0/7 http: minor improvementsTay Ray Chuan, Mar 2, 2010
  2. 1/7 t5541-http-push: check that ref is unchanged for non-ff testTay Ray Chuan, Mar 2, 2010
  3. 2/7 t554[01]-http-push: refactor, add non-ff testsTay Ray Chuan, Mar 2, 2010
  4. 3/7 http-push: remove "|| 1" to enable verbose checkTay Ray Chuan, Mar 2, 2010
  5. 4/7 http-walker: cleanup more thoroughlyTay Ray Chuan, Mar 2, 2010
  6. 5/7 http: init and cleanup separately from http-walkerTay Ray Chuan, Mar 2, 2010
  7. 6/7 remote-curl: use http_fetch_ref() instead of walker wrapperTay Ray Chuan, Mar 2, 2010
  8. 7/7 remote-curl: init walker only when neededTay Ray Chuan, Mar 2, 2010
  9. Clemens BuchacherMar 4, 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.