Merge branch 'mh/get-remote-group-fix' into maint
commit03ea02771a3752b81db355d70adf430f217b5d7a
authorJunio C Hamano <gitster@pobox.com>
Fri, 4 Sep 2015 02:17:47 +0000 (3 19:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Sep 2015 02:17:48 +0000 (3 19:17 -0700)
treee3b85db1e90555a118bfb5248b44320d585badd8
parentc415fb791b318832f52494b75d99602a7a8d604b
parentbc598c32ae41cd355169ca7b207c2e35d9449232
Merge branch 'mh/get-remote-group-fix' into maint

An off-by-one error made "git remote" to mishandle a remote with a
single letter nickname.

* mh/get-remote-group-fix:
  get_remote_group(): use skip_prefix()
  get_remote_group(): eliminate superfluous call to strcspn()
  get_remote_group(): rename local variable "space" to "wordlen"
  get_remote_group(): handle remotes with single-character names
builtin/fetch.c