From 8695c8bfe181677ca112502c1eef67930d84a75d Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 11 Apr 2005 18:55:38 -0700 Subject: Add "show-files" command to show the list of managed (or non-managed) files. You want things like this to check in a patch.. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ddb4e3ecd4..a1753fe0b4 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CFLAGS=-g -O3 -Wall CC=gcc PROG= update-cache show-diff init-db write-tree read-tree commit-tree \ - cat-file fsck-cache checkout-cache diff-tree rev-tree + cat-file fsck-cache checkout-cache diff-tree rev-tree show-files all: $(PROG) @@ -43,6 +43,9 @@ diff-tree: diff-tree.o read-cache.o rev-tree: rev-tree.o read-cache.o $(CC) $(CFLAGS) -o rev-tree rev-tree.o read-cache.o $(LIBS) +show-files: show-files.o read-cache.o + $(CC) $(CFLAGS) -o show-files show-files.o read-cache.o $(LIBS) + read-cache.o: cache.h show-diff.o: cache.h -- cgit v1.2.3