aboutsummaryrefslogtreecommitdiffstats
path: root/git-reset-script
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-14 18:56:05 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-14 18:56:05 -0700
commit40d8cfe4117564e5520e8f4f953addaa94844476 (patch)
tree9dd2fb169a2d4a2c0f49bf9537cf9aa314614342 /git-reset-script
parent479346adc5ebb099121063d4c06da30093ed9b3b (diff)
downloadgit-40d8cfe4117564e5520e8f4f953addaa94844476.tar.gz
Trivial git script fixups
Fix permissions, and add trivial "reset" and "add" scripts. The "reset" script just resets the index back to head, while the "add" script is just a crutch for people used to do "cvs add".
Diffstat (limited to 'git-reset-script')
-rwxr-xr-xgit-reset-script3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-reset-script b/git-reset-script
new file mode 100755
index 0000000000..eaefd00d9d
--- /dev/null
+++ b/git-reset-script
@@ -0,0 +1,3 @@
+#!/bin/sh
+git-read-tree --reset HEAD
+git-update-cache --refresh