Browse Source

various systems not having Modern::Perl installed is getting old

master
Jonathan "Duke" Leto 11 years ago
parent
commit
21b700c3a9
  1. 3
      bin/change_git_to_ssh_protocol

3
bin/change_git_to_ssh_protocol

@ -3,7 +3,8 @@
# convert a git:// protocol string to an ssh protocol string
# very useful in visual select mode from vim
use Modern::Perl;
use strict;
use warnings;
while(my $line = <>){
$line =~ s!git://([^/]+)/!git\@$1:!g;

Loading…
Cancel
Save