Re: [PATCH 1/9] gitweb: Great subroutines renaming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jakub Narebski <jnareb@xxxxxxxxx> writes:

> I'm not sure if to add script used to create this commit, and to
> port changes to be "post-rename". Here it is:
>
> #!/bin/bash
> if test -z "$1"; then
> 	FILE=`git rev-parse --show-cdup`gitweb/gitweb.perl
> else
> 	FILE=$1
> fi
> echo "Great subroutine renaming: $FILE"
> perl -s -p -i.re~ \
> 	-e 's/\bgit_get_referencing\b/format_ref_marker/;' \

Will apply, but I suspect all of these need g at the end as in
"s/foo/bar/g;".


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]