git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to test changes?
@ 2007-01-25  4:27 Uwe Kleine-König
  2007-01-25  4:57 ` Shawn O. Pearce
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Kleine-König @ 2007-01-25  4:27 UTC (permalink / raw)
  To: Git Mailing List

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

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

* Re: how to test changes?
  2007-01-25  4:27 how to test changes? Uwe Kleine-König
@ 2007-01-25  4:57 ` Shawn O. Pearce
  2007-01-25  5:57   ` [PATCH] untrue statement about git wrapper Uwe Kleine-König
  0 siblings, 1 reply; 3+ messages in thread
From: Shawn O. Pearce @ 2007-01-25  4:57 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: Git Mailing List

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.

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

* [PATCH] untrue statement about git wrapper
  2007-01-25  4:57 ` Shawn O. Pearce
@ 2007-01-25  5:57   ` Uwe Kleine-König
  0 siblings, 0 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2007-01-25  5:57 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: Git Mailing List

Hi Shawn
Shawn O. Pearce wrote:
> 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"

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

end of thread, other threads:[~2007-01-25  5:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-25  4:27 how to test changes? Uwe Kleine-König
2007-01-25  4:57 ` Shawn O. Pearce
2007-01-25  5:57   ` [PATCH] untrue statement about git wrapper Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).