diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-10 11:32:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-10 11:32:54 -0700 |
commit | 121481abf8d752ef871821d4ab9a3747595d86ae (patch) | |
tree | 6722a6e40e1edeeec7cd4c527a16a51553074130 /write-tree.c | |
parent | d6d3f9d0125a7215f3cdc2600b2307ca55b69536 (diff) | |
download | git-121481abf8d752ef871821d4ab9a3747595d86ae.tar.gz |
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.c | 2 |
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.. */ |