#!/usr/bin/env bash
#
# Remove files from a GIT repository.
# Copyright (c) Petr Baudis, 2005
#
# Takes a list of file names at the command line, and schedules them
# for removal from the GIT repository at the next commit.

USAGE="cg-rm FILE..."

. ${COGITO_LIB}cg-Xlib

[ "$1" ] || usage

rm -f "$@"
git-update-cache --remove -- "$@"
