mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2025-12-20 04:40:10 +01:00
21 lines
286 B
Bash
21 lines
286 B
Bash
#!/bin/sh
|
|
|
|
case $# in
|
|
1)
|
|
me="$1"
|
|
;;
|
|
*)
|
|
echo 'Usage: $0 <my-name>'
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
for i in `cat duplicate-files`; do
|
|
if [ -f $i ]; then
|
|
mkdir -p $me/`dirname $i`
|
|
echo git mv $i $me/$i
|
|
git mv $i $me/$i
|
|
fi
|
|
done
|
|
|
|
git commit -m"Move common $me files out of the way"
|