threads / discuss / 6515

how to test changes?

Subject: how to test changes?

## tl;dr

3 messages between Jan 25, 2007 and Jan 25, 2007.

replies: 2people: 2as markdown or json

Uwe Kleine-König· Jan 25, 2007, 04:27 UTC · lore
Hello,

I wonder if there is a simpler way to test changes to git than installing it. My problem is that even if I run

	~/gsrc/git/git-fetch.sh --option
e.g. git-parse-remote is taken from ~/usr/bin/git-parse-remote.
Did I miss something?

Best regards Uwe

-- 
Uwe Kleine-König

http://www.google.com/search?q=1+year+divided+by+3+in+seconds
Shawn O. Pearce· Jan 25, 2007, 04:57 UTC · re: Uwe Kleine-König · lore

Re: how to test changes?

Uwe Kleine-K?nig <ukleinek@informatik.uni-freiburg.de> wrote:
> I wonder if there is a simpler way to test changes to git than
> installing it.  My problem is that even if I run 
Look at the INSTALL file:
	GIT_EXEC_PATH=`pwd`
	PATH=`pwd`:$PATH
	GITPERLLIB=`pwd`/perl/blib/lib
	export GIT_EXEC_PATH PATH GITPERLLIB

I use this trick all of the time to run git in-place for testing in various weird repositories.

-- 
Shawn.
Uwe Kleine-König· Jan 25, 2007, 05:57 UTC · re: Shawn O. Pearce · lore

[PATCH] untrue statement about git wrapper

Hi Shawn Shawn O. Pearce wrote:

Show 11 quoted lines
> Uwe Kleine-K?nig <ukleinek@informatik.uni-freiburg.de> wrote:
> > I wonder if there is a simpler way to test changes to git than
> > installing it.  My problem is that even if I run 
> 
> Look at the INSTALL file:
> 
> 	GIT_EXEC_PATH=`pwd`
> 	PATH=`pwd`:$PATH
> 	GITPERLLIB=`pwd`/perl/blib/lib
> 	export GIT_EXEC_PATH PATH GITPERLLIB
> 
Thanks, that's what I searched for.
While reading INSTALL, I noticed the following

-- >8 -- Delete the now untrue statement that the git wrapper isn't used by the core

Some time ago most (if not all) calls use the wrapper to allow moving some commands from PATH to execdir.

Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
---
 INSTALL |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/INSTALL b/INSTALL
index 361c65b..66f64a6 100644
--- a/INSTALL
+++ b/INSTALL
@@ -27,16 +27,13 @@ Issues of note:
  - git normally installs a helper script wrapper called "git", which
    conflicts with a similarly named "GNU interactive tools" program.
 
-   Tough.  Either don't use the wrapper script, or delete the old GNU
-   interactive tools.  None of the core git stuff needs the wrapper,
-   it's just a convenient shorthand and while it is documented in some
-   places, you can always replace "git commit" with "git-commit"
-   instead. 
+   Tough.  
 
    But let's face it, most of us don't have GNU interactive tools, and
    even if we had it, we wouldn't know what it does.  I don't think it
    has been actively developed since 1997, and people have moved over to
-   graphical file managers.
+   graphical file managers.  So I suggest to remove it from your system
+   if you have it.
 
  - You can use git after building but without installing if you
    wanted to.  Various git commands need to find other git
-- 
1.5.0.rc2.gd1af2d

-- 
Uwe Kleine-König

$ dc -e "5735816763073014741799356604682P"

← back to recent threads