add Gdifs, update Gdif to scope to $samfile
This commit is contained in:
parent
a24187c429
commit
3a38b2dba7
5
git/Gdif
5
git/Gdif
|
|
@ -1,2 +1,5 @@
|
|||
#!/usr/bin/env rc
|
||||
git diff
|
||||
if(~ $#samfile 0)
|
||||
git diff
|
||||
if not
|
||||
git diff $samfile
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env rc
|
||||
if(~ $#samfile 0)
|
||||
git diff --staged
|
||||
if not
|
||||
git diff --staged $samfile
|
||||
4
mkfile
4
mkfile
|
|
@ -5,12 +5,14 @@ install:V:
|
|||
cp git/G-- $HOME/bin/G--
|
||||
cp git/Gc $HOME/bin/Gc
|
||||
cp git/Gdif $HOME/bin/Gdif
|
||||
cp git/Gdifs $HOME/bin/Gdifs
|
||||
cp git/Gdn $HOME/bin/Gdn
|
||||
cp git/Gds $HOME/bin/Gds
|
||||
cp git/Gf $HOME/bin/Gf
|
||||
cp git/Gpat $HOME/bin/Gpat
|
||||
cp git/Gst $HOME/bin/Gst
|
||||
cp git/Gup $HOME/bin/Gup
|
||||
cp php/Phpl $HOME/bin/Phpl
|
||||
|
||||
clean:V:
|
||||
rm -f $HOME/bin/G+ $HOME/bin/G++ $HOME/bin/G- $HOME/bin/G-- $HOME/bin/Gc $HOME/bin/Gdif $HOME/bin/Gdn $HOME/bin/Gds $HOME/bin/Gf $HOME/bin/Gpat $HOME/bin/Gst $HOME/bin/Gup
|
||||
rm -f $HOME/bin/G+ $HOME/bin/G++ $HOME/bin/G- $HOME/bin/G-- $HOME/bin/Gc $HOME/bin/Gdif $HOME/bin/Gdifs $HOME/bin/Gdn $HOME/bin/Gds $HOME/bin/Gf $HOME/bin/Gpat $HOME/bin/Gst $HOME/bin/Gup $HOME/bin/Phpl
|
||||
|
|
|
|||
Loading…
Reference in New Issue