Skip to contentSkip to conversation

Support of "make -s" in git-gui: do not output anything of the build itself

PATCH In review Alex Riesen 3 participants 5 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Support of "make -s" in git-gui: do not output anything of the build itself

---
git-gui/Makefile | 5 +++++

1 files changed, 5 insertions(+), 0 deletions(-)

From b347c855873d3193a6e8339f10682ba8a3931018 Mon Sep 17 00:00:00 2001
From: Alex Riesen <[email protected]>
Date: Wed, 7 Mar 2007 00:44:37 +0100
Subject: [PATCH] Support of "make -s" in git-gui: do not output anything of the build itself

---
 git-gui/Makefile |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
git-gui/Makefile +5 -0
index e486e8f..a219b5d 100644
@@ -27,6 +27,11 @@ ifndef V
 	QUIET_BUILT_IN = @echo '   ' BUILTIN $@;
 endif
 
+ifeq ($(findstring $(MAKEFLAGS),s),s)
+QUIET_GEN =
+QUIET_BUILT_IN =
+endif
+
 DESTDIR_SQ = $(subst ','\'',$(DESTDIR))
 gitexecdir_SQ = $(subst ','\'',$(gitexecdir))
 SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
Signature · 1 line
1.5.0.3.430.g5573f
#1 lore raw
Quoted 4 lines · Alex Riesen

---
git-gui/Makefile | 5 +++++

1 files changed, 5 insertions(+), 0 deletions(-)

Thanks. It is applied to my git-gui tree.

BTW, Junio, I have taken your lead and defined a maint and a master branch. The maint branch of git-gui is meant to corresponding in stability level to that of the maint branch of git.git, meaning the one should always be suitable for direct merging to the other.

If it is alright with Alex, I'd like to hold off on merging git-gui into git.git right now. We just got gitgui-0.6.3 merged, and I'd like to see at least one version of git ship with a stable tag from git-gui, rather than an arbitrary commit. ;-)

Signature · 1 line
Shawn.
#2 lore raw

PATCH 1/1 make t8001 work on Mac OS X again

From: Johannes Schindelin <[email protected]>

It has a broken sed which adds a newline to the last line, if it does not end with one.

---

From: Johannes Schindelin <[email protected]> > Does this work for you?

Yes. ;-)

 t/annotate-tests.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
t/annotate-tests.sh +2 -1
index 87403da..cacb273 100644
@@ -114,7 +114,8 @@ test_expect_success \
 test_expect_success \
     'some edit' \
     'mv file file.orig &&
-    sed -e "s/^3A/99/" -e "/^1A/d" < file.orig > file &&
+    sed -e "s/^3A/99/" -e "/^1A/d" -e "/^incomplete/d" < file.orig > file &&
+    echo "incomplete" | tr -d "\\012" >>file &&
     GIT_AUTHOR_NAME="D" git commit -a -m "edit"'
 
 test_expect_success \
#3 lore raw

Re: [PATCH] make t8001 work on Mac OS X again

Quoted 5 lines · Shawn O. Pearce

From: Johannes Schindelin <[email protected]>

It has a broken sed which adds a newline to the last line, if it does not end with one.

Quoted 8 lines

---

From: Johannes Schindelin <[email protected]> > Does this work for you?

Yes. ;-)

Thanks. Strictly speaking, sed is *supposed* to end its output of pattern space with newline, so the test is at fault, not Macintosh sed.

Will apply.

#4 lore raw
In reply to Shawn O. Pearce
Quoted 4 lines · Shawn O. Pearce

If it is alright with Alex, I'd like to hold off on merging git-gui into git.git right now. We just got gitgui-0.6.3 merged, and I'd like to see at least one version of git ship with a stable tag from git-gui, rather than an arbitrary commit. ;-)

Well, I do not think these Makefile clean-ups deserve to be applied to 'maint'. They are by definition not to have any effect on the build products (otherwise that is called a bug), so will not either fix nor improve the end user experience.

In 'maint', I try to have changes that fixes problems in the end user experience that exist in the corresponding feature release, and nothing else. That is what 'maintenance' means.