Permalink
Browse files

Allow passing an optional argument to git ls-files.

  • Loading branch information...
postmodern committed Apr 4, 2013
1 parent a710bb2 commit c801a190f28dc43c913163b8c1c7e42cf2d7ced0
Showing with 1 addition and 1 deletion.
  1. +1 −1 .gitconfig
View
@@ -10,4 +10,4 @@
remote = origin
merge = refs/heads/master
[alias]
- sed = ! git ls-files -z | xargs -0 sed -i -e
+ sed = !sh -c 'git ls-files -z $2 | xargs -0 sed -i -e $1' -

1 comment on commit c801a19

❤️

Please sign in to comment.