Make sure only the repository owner and name are taken from the GitHub path #29

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@EddieRingle
Contributor

EddieRingle commented Aug 7, 2011

I noticed that Agit will accept URLs such as eddieringle/hubroid#66 and attempt to turn it into a Git URL. I haven't actually tried fetching from one of these URLs yet, but it doesn't look pretty. This patch should only use the first two segments from the path to form the Git URL.

I wasn't able to build or test, but things should be in order.

Make sure we only get the repository owner and name out of the path, …
…nothing more.

Signed-off-by: Eddie Ringle <eddie@eringle.net>

@rtyley rtyley closed this in 0305e6d Aug 8, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment