Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
60 user(s) are online (52 user(s) are browsing Forums)

Members: 0
Guests: 60

more...
Support us!
Recent OS4 Files
OS4Depot.net





updating sgit
Just popping in
Joined:
2011/7/20 19:01
Posts: 45
Hi all

I've been tinkering with a fork of sgit to add in some of the standard git features that it is missing. Before I make a pull request with the additions, I'm checking to see if anyone is interested in using it as some extra testing. If you're interested, just drop me a line.

billy

   Report Go to top

Re: updating sgit
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3367
@billyfish

Why not add it to the already available sgit tree?

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: updating sgit
Just popping in
Joined:
2011/7/20 19:01
Posts: 45
@Raziel

That's entirely what I'm going to do!
I've forked it and after I'm happy with it all, I'll make a pull request.

cheers

Billy

   Report Go to top

Re: updating sgit
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3367
@billyfish

Ah, ok

i only do fetch and merge with sgit, but i'm sure true devs will jump in for more options.

One thing i'd like to use (but iirc doesn't yet fully work) is remote.
I can list and checkout remotes, but i'm still not able to merge them into my local tree (for testing)

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: updating sgit
Site Builder
Joined:
2006/12/2 23:57
From Athens
Posts: 470
@billyfish
I am totally interested. Can you please share a little bit on which features did you work on?

   Report Go to top

Re: updating sgit
Just popping in
Joined:
2011/7/20 19:01
Posts: 45
@walkero

Sure

So far I've added the -a switch for the commit command which automatically stages files that have been modified and deleted, but ignore new files you have not told Git about.

I'm in the process of adding support for the mv command and setting up the default push behaviour when the repository and refspec aren't specified. Basically I'm plugging the holes of my most common git workflow so I can do:

sgit commit -a -m "blah"
sgit push

the same as I do with the standard git command.

Feel free to suggest any features that you are interested in and I'll see what I can do.

cheers

Billy

   Report Go to top

Re: updating sgit
Home away from home
Joined:
2007/1/26 21:48
From New Zealand
Posts: 2126
@billyfish

Thanks for updating sgit. I've switched to using git for my projects, and on AmigaOS I need to keep referring to this thread to remind me how to get things done.

One frustrating annoyance is that it defaults to "unknown user" if you forget to configure the name and email address before the first commit. Every time that happens I need to figure out how to undo the commit and redo it with the correct user details. I wish it would ask you to enter those details instead.

Hans

_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
   Report Go to top

Re: updating sgit
Just popping in
Joined:
2006/11/30 11:59
Posts: 27
@billyfish

Slightly off topic, but highly related; has anyone looked into this:

https://github.com/widelec-BB/git-morphos

It's also a part of AROS contrib.


With that being said, I think it's great to have sgit as well.

   Report Go to top

Re: updating sgit
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3367
@billyfish

Support for bisect would be awesome

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: updating sgit
Quite a regular
Joined:
2007/7/14 20:30
From Lothric
Posts: 659
@billyfish

Some subjective would-be-nice-to-haves:

sgit commit --amend
sgit add --patch
sgit diff file

   Report Go to top

Re: updating sgit
Just popping in
Joined:
2006/11/30 11:59
Posts: 27
...rebase is also a good thing to have

   Report Go to top

Re: updating sgit
Just popping in
Joined:
2011/7/20 19:01
Posts: 45
@sTix

Interesting! Is this fully working on AROS and MorphOS? Might be the way to go...

   Report Go to top

Re: updating sgit
Just popping in
Joined:
2011/7/20 19:01
Posts: 45
Hi all

Wow! I'm glad there's interest! I've added the issues page on my forked repo at https://github.com/billyfish/simplegit/issues, if you want to add them in.

Once I've finished the support for "sgit mv", I can start working through these.

Keep them coming!

cheers


billy


   Report Go to top

Re: updating sgit
Just popping in
Joined:
2006/11/30 11:59
Posts: 27
@billyfish

I haven't tried it on AROS, but it's fully functioning on MorphOS. And looking at the AROS patchset it doesn't look like a lot of work to get it rundning.

   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project