9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] git9 to tradational interface wrapper for go
@ 2021-02-28 11:02 Steve Simon
  2021-02-28 11:17 ` Alex Musolino
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Simon @ 2021-02-28 11:02 UTC (permalink / raw)
  To: 9fans

Hi all,

Anyone made any progress writing a wrapper script, like djc's /rc/bin/git,
for ori's git9?

It may seem peverse to replicate Linus's interface (which I don't like),
but the go compiler suite expects this interface, so rather than trying to
hack go this seems the path of least resistance.

-Steve

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tecc998fe02d53302-M7d3a411f09bc3810ed0c0545
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] git9 to tradational interface wrapper for go
  2021-02-28 11:02 [9fans] git9 to tradational interface wrapper for go Steve Simon
@ 2021-02-28 11:17 ` Alex Musolino
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Musolino @ 2021-02-28 11:17 UTC (permalink / raw)
  To: 9fans

> Anyone made any progress writing a wrapper script, like djc's
> /rc/bin/git, for ori's git9?

Yes.  This is what git/compat is for.  Just run `git/compat` to spawn
a new shell with a 'git' executable in your $path.  For example:

term% cd path/to/repo
term% git/compat
term% git version
git version 2.2.0
term% git pull
fetching...
indexing 223 objects: 100%
ours: 721e8fbc985b46b86e0f82ea79c35e977e382c53
theirs: a18673d25a46c235289eb9b5748af1eb4ecd7170
common: 221e7c96b417e63b291f83714d9dbcbb253a2e4b
git/merge remotes/origin/master
term% 


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tecc998fe02d53302-Mf9c43fedab579263ec2d1354
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

end of thread, other threads:[~2021-02-28 11:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-28 11:02 [9fans] git9 to tradational interface wrapper for go Steve Simon
2021-02-28 11:17 ` Alex Musolino

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).