| author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
| Sun, 10 Apr 2005 18:32:54 +0000 (11:32 -0700) | ||
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
| Sun, 10 Apr 2005 18:32:54 +0000 (11:32 -0700) | ||
| commit | 121481abf8d752ef871821d4ab9a3747595d86ae | |
| tree | 6722a6e40e1edeeec7cd4c527a16a51553074130 | tree | snapshot |
| parent | d6d3f9d0125a7215f3cdc2600b2307ca55b69536 | commit | 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.
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.
| cache.h | diff | blob | history | |
| read-cache.c | diff | blob | history | |
| read-tree.c | diff | blob | history | |
| update-cache.c | diff | blob | history | |
| write-tree.c | diff | blob | history |