Hi, Johannes Schindelin wrote: > Something like this? > -- snip -- > #!/bin/sh > > TARFILE="$1" > test -z "$TARFILE" && TARFILE=- > > git-ls-files -z | xargs -0 rm > tar xvf "$TARFILE" | xargs git add > git-update-index --remove $(git-ls-files) > -- snap -- Well, the most important thing for such a tool IMO would be that it wouldn't overwrite any uncommitted changes, so it's not as trivial as it seems. Simon - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2.1.8 : 2005-12-29 02:52:25 EST