19 lines · 336 B · Text
RawDownload
#!/bin/rc -erfork ne. /sys/lib/git/common.rc gitup flagfmt='r:remove'; args='file ...'eval `''{aux/getflags $*} || exec aux/usage s=Aif(~ $remove 1)	s=Rif(~ $#* 0)	exec aux/usage paths=`$nl{cleanname -d $gitrel $* | drop $gitroot}walk -f ./$paths | grep -v '^(./)?.git/' | \	sed 's/^/'$s' NOQID 0 /' >> .git/INDEX9exit ''