]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
handle locally added and removed files
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Thu, 21 Jan 1999 03:54:04 +0000 (03:54 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 21 Jan 1999 03:54:04 +0000 (03:54 +0000)
commit

diff --git a/commit b/commit
index 9925ebe8b7f4b6cc19687f8f34cc6a4c0ca8a315..467859faa357717e34929aaf88b7562e89258476 100755 (executable)
--- a/commit
+++ b/commit
@@ -158,6 +158,8 @@ if cvs $cvsopt stat $statopt ${1+"$@"} 2>/dev/null | grep Status \
        case "$rest" in
        "Up-to-date") :;;
        "Locally Modified") echo "M $file" >&2;;
+       "Locally Added") echo "A $file" >&2;;
+       "Locally Removed") echo "R $file" >&2;;
        *) echo "C $file"; echo "C $file" >&2;;
        esac
      done | grep . >/dev/null; then