Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-10 22:32:54 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-10 22:32:54 +0400
commit121481abf8d752ef871821d4ab9a3747595d86ae (patch)
tree6722a6e40e1edeeec7cd4c527a16a51553074130 /write-tree.c
parentd6d3f9d0125a7215f3cdc2600b2307ca55b69536 (diff)
Make "update-cache" a bit friendlier to use (and harder to mis-use).
It now requires the "--add" flag before you add any new files, and a "--remove" file if you want to mark files for removal. And giving it the "--refresh" flag makes it just update all the files that it already knows about.
Diffstat (limited to 'write-tree.c')
-rw-r--r--write-tree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/write-tree.c b/write-tree.c
index f6358d76f1..7eac1df8fb 100644
--- a/write-tree.c
+++ b/write-tree.c
@@ -63,8 +63,6 @@ static int write_tree(struct cache_entry **cachep, int maxentries, const char *b
int subdir_written;
subdir_written = write_tree(cachep + nr, maxentries - nr, pathname, dirname-pathname+1, subdir_sha1);
- fprintf(stderr, "Wrote %d entries from subdirectory '%.*s'\n",
- subdir_written, dirname-pathname, pathname);
nr += subdir_written;
/* Now we need to write out the directory entry into this tree.. */