Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r2431 - branches/fsvs-1.2.x/fsvs/src/status.c

fsvs
Discussion topic

Back to topic list

svn commit: r2431 - branches/fsvs-1.2.x/fsvs/src/status.c

Author tekknokrat
Full name Gunnar Thielebein
Date 2010-02-13 09:56:59 PST
Message Author: tekknokrat
Date: 2010-02-13 09:56:59-0800
New Revision: 2431

Modified:
   branches/fsvs-1.2.x/​fsvs/src/status.c

Log:
 - change behavior in stop_change, don't stop on parent nodes containing changed entries

Modified: branches/fsvs-1.2.x/​fsvs/src/status.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/src/status.c?​view=diff&pathre​v=2431&r1=2430​&r2=2431
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/src/status.c (original)
+++ branches/fsvs-1.2.x/​fsvs/src/status.c 2010-02-13 09:56:59-0800
@@ -351,11 +351,8 @@
     if (hlp__only_dir_mtime​_changed(sts))
         return status;
 
- /*
- * @todo: this still exit(1) for excluded dir, why?
- */
- if (opt__get_int(OPT__S​TOP_ON_CHANGE) &&
- sts->entry_status)
+ if (opt__get_int(OPT__S​TOP_ON_CHANGE) &&
+ sts->entry_status && (!(sts->entry_status & FS_CHILD_CHANGED)))
         /* Status is a read-only operation, so that works. */
         exit(1);

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r2431 - branches/fsvs-1.2.x/fsvs/src/status.c tekknokrat Gunnar Thielebein 2010-02-13 09:56:59 PST
Messages per page: