Skip to contentSkip to conversation

how to test changes?

PATCH New Uwe Kleine-König 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

Signature · 3 lines
Uwe Kleine-König

http://www.google.com/search?q=1+year+divided+by+3+in+seconds
#1 lore raw
Quoted 2 lines · Uwe Kleine-K?nig

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.

Signature · 1 line
Shawn.
#2 lore raw

PATCH 1/1 untrue statement about git wrapper

Hi Shawn

Quoted 11 lines · Shawn O. Pearce
Quoted 2 lines · Uwe Kleine-K?nig

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.

---
 INSTALL |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
INSTALL +3 -6
index 361c65b..66f64a6 100644
@@ -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
Signature · 6 lines
1.5.0.rc2.gd1af2d

-- 
Uwe Kleine-König

$ dc -e "5735816763073014741799356604682P"