Index: src/add.c ================================================================== --- src/add.c +++ src/add.c @@ -7,11 +7,11 @@ ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ** General Public License for more details. -** +** ** You should have received a copy of the GNU General Public ** License along with this library; if not, write to the ** Free Software Foundation, Inc., 59 Temple Place - Suite 330, ** Boston, MA 02111-1307, USA. ** @@ -32,18 +32,18 @@ /* ** Set to true if files whose names begin with "." should be ** included when processing a recursive "add" command. */ static int includeDotFiles = 0; - + /* ** Add a single file */ static void add_one_file(const char *zName, int vid, Blob *pOmit){ Blob pathname; const char *zPath; - + file_tree_name(zName, &pathname, 1); zPath = blob_str(&pathname); if( strcmp(zPath, "manifest")==0 || strcmp(zPath, "_FOSSIL_")==0 || strcmp(zPath, "manifest.uuid")==0 @@ -126,11 +126,11 @@ /* ** COMMAND: add ** ** Usage: %fossil add FILE... ** -** Make arrangements to add one or more files to the current checkout +** Make arrangements to add one or more files to the current checkout ** at the next commit. ** ** When adding files recursively, filenames that begin with "." are ** excluded by default. To include such files, add the "--dotfiles" ** option to the command-line. @@ -201,13 +201,18 @@ } db_begin_transaction(); for(i=2; i