Commit 03ea027
committed
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 names1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
982 | | - | |
983 | | - | |
| 982 | + | |
984 | 983 | | |
985 | | - | |
986 | 984 | | |
987 | | - | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
988 | 988 | | |
989 | | - | |
990 | | - | |
991 | | - | |
992 | | - | |
| 989 | + | |
| 990 | + | |
993 | 991 | | |
994 | 992 | | |
995 | 993 | | |
| |||
0 commit comments