[BACK]Return to commit.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/commit.c between version 1.157 and 1.158

version 1.157, 2017/05/31 16:48:16 version 1.158, 2017/06/01 08:08:24
Line 135 
Line 135 
         if (RB_EMPTY(&files_affected))          if (RB_EMPTY(&files_affected))
                 return (0);                  return (0);
   
         if (current_cvsroot->cr_method != CVS_METHOD_LOCAL) {          if (cvsroot_is_remote()) {
                 if (logmsg == NULL) {                  if (logmsg == NULL) {
                         logmsg = cvs_logmsg_create(NULL, &files_added,                          logmsg = cvs_logmsg_create(NULL, &files_added,
                             &files_removed, &files_modified);                              &files_removed, &files_modified);
Line 308 
Line 308 
   
         cvs_log(LP_TRACE, "cvs_commit_check_files(%s)", cf->file_path);          cvs_log(LP_TRACE, "cvs_commit_check_files(%s)", cf->file_path);
   
         if (current_cvsroot->cr_method != CVS_METHOD_LOCAL)          if (cvsroot_is_remote())
                 cvs_remote_classify_file(cf);                  cvs_remote_classify_file(cf);
         else          else
                 cvs_file_classify(cf, cvs_directory_tag);                  cvs_file_classify(cf, cvs_directory_tag);
Line 355 
Line 355 
                 return;                  return;
         }          }
   
         if (current_cvsroot->cr_method == CVS_METHOD_LOCAL) {          if (cvsroot_is_local()) {
                 tag = cvs_directory_tag;                  tag = cvs_directory_tag;
                 if (cf->file_ent != NULL)                  if (cf->file_ent != NULL)
                         tag = cf->file_ent->ce_tag;                          tag = cf->file_ent->ce_tag;

Legend:
Removed from v.1.157  
changed lines
  Added in v.1.158