All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests: remove unused full-svn-test target
@ 2016-02-22  3:08 Eric Wong
  2016-02-22 16:01 ` Kazutoshi Satoda
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Wong @ 2016-02-22  3:08 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, Kazutoshi Satoda

git-svn has not supported GIT_SVN_NO_OPTIMIZE_COMMITS for
the "set-tree" sub-command in 9 years since commit 490f49ea5899
("git-svn: remove optimized commit stuff for set-tree").

So remove this target to avoid confusion.

ref: http://mid.gmane.org/56C9B7B7.7030406@f2.dion.ne.jp

Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
 t/Makefile | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/t/Makefile b/t/Makefile
index 43b15e3..ad97a7e 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -77,11 +77,6 @@ aggregate-results:
 		echo "$$f"; \
 	done | '$(SHELL_PATH_SQ)' ./aggregate-results.sh
 
-# we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
-full-svn-test:
-	$(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
-	$(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=0 LC_ALL=en_US.UTF-8
-
 gitweb-test:
 	$(MAKE) $(TGITWEB)
 
-- 
EW

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] tests: remove unused full-svn-test target
  2016-02-22  3:08 [PATCH] tests: remove unused full-svn-test target Eric Wong
@ 2016-02-22 16:01 ` Kazutoshi Satoda
  2016-02-23  6:26   ` [PATCH v2] tests: remove no-op " Eric Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Kazutoshi Satoda @ 2016-02-22 16:01 UTC (permalink / raw)
  To: Eric Wong; +Cc: Junio C Hamano, git

On 2016/02/22 12:08 +0900, Eric Wong wrote:
> git-svn has not supported GIT_SVN_NO_OPTIMIZE_COMMITS for
> the "set-tree" sub-command in 9 years since commit 490f49ea5899
> ("git-svn: remove optimized commit stuff for set-tree").
> 
> So remove this target to avoid confusion.

> diff --git a/t/Makefile b/t/Makefile
> index 43b15e3..ad97a7e 100644
...
> -# we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
> -full-svn-test:
> -	$(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
> -	$(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=0 LC_ALL=en_US.UTF-8

The variable TSVN becomes unused by this removal. It should be removed
together, shouldn't it?

-- 
k_satoda

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2] tests: remove no-op full-svn-test target
  2016-02-22 16:01 ` Kazutoshi Satoda
@ 2016-02-23  6:26   ` Eric Wong
  2016-02-23  6:31     ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Wong @ 2016-02-23  6:26 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Kazutoshi Satoda, git

git-svn has not supported GIT_SVN_NO_OPTIMIZE_COMMITS for
the "set-tree" sub-command in 9 years since commit 490f49ea5899
("git-svn: remove optimized commit stuff for set-tree").

So remove this target and TSVN variable to avoid confusion.

ref: http://mid.gmane.org/56C9B7B7.7030406@f2.dion.ne.jp

Helped-by: Kazutoshi Satoda <k_satoda@f2.dion.ne.jp>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
  v2: remove TSVN, too.

  Kazutoshi Satoda <k_satoda@f2.dion.ne.jp> wrote:
  > The variable TSVN becomes unused by this removal. It should be removed
  > together, shouldn't it?

  Yes, thanks :)  I also noticed the contrib/subtree/t/Makefile
  has TSVN (and TGITWEB,) too, but I've left it alone for now.

 t/Makefile | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/t/Makefile b/t/Makefile
index 43b15e3..18e2b28 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -27,7 +27,6 @@ PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
 TEST_RESULTS_DIRECTORY_SQ = $(subst ','\'',$(TEST_RESULTS_DIRECTORY))
 
 T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh))
-TSVN = $(sort $(wildcard t91[0-9][0-9]-*.sh))
 TGITWEB = $(sort $(wildcard t95[0-9][0-9]-*.sh))
 THELPERS = $(sort $(filter-out $(T),$(wildcard *.sh)))
 
@@ -77,11 +76,6 @@ aggregate-results:
 		echo "$$f"; \
 	done | '$(SHELL_PATH_SQ)' ./aggregate-results.sh
 
-# we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
-full-svn-test:
-	$(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
-	$(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=0 LC_ALL=en_US.UTF-8
-
 gitweb-test:
 	$(MAKE) $(TGITWEB)
 
-- 
EW

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] tests: remove no-op full-svn-test target
  2016-02-23  6:26   ` [PATCH v2] tests: remove no-op " Eric Wong
@ 2016-02-23  6:31     ` Junio C Hamano
  0 siblings, 0 replies; 4+ messages in thread
From: Junio C Hamano @ 2016-02-23  6:31 UTC (permalink / raw)
  To: Eric Wong; +Cc: Kazutoshi Satoda, git

Eric Wong <normalperson@yhbt.net> writes:

> git-svn has not supported GIT_SVN_NO_OPTIMIZE_COMMITS for
> the "set-tree" sub-command in 9 years since commit 490f49ea5899
> ("git-svn: remove optimized commit stuff for set-tree").
>
> So remove this target and TSVN variable to avoid confusion.
>
> ref: http://mid.gmane.org/56C9B7B7.7030406@f2.dion.ne.jp
>
> Helped-by: Kazutoshi Satoda <k_satoda@f2.dion.ne.jp>
> Signed-off-by: Eric Wong <normalperson@yhbt.net>
> ---
>   v2: remove TSVN, too.

Thanks, both.  Will apply directly on 'master'.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-23  6:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22  3:08 [PATCH] tests: remove unused full-svn-test target Eric Wong
2016-02-22 16:01 ` Kazutoshi Satoda
2016-02-23  6:26   ` [PATCH v2] tests: remove no-op " Eric Wong
2016-02-23  6:31     ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.