Ticket Change Details
Not logged in
Overview

Artifact ID: d43afbdba72bb2c63240688c93cdfaa7619feb3f
Ticket: 5a13dbd275acf6b5f73c86c735eb7f415cbc8cbd
add and ci/commit are inconsistent wrt "*" handling
User & Date: bharder 2009-02-16 04:02:52
Changes

  1. comment changed to:
    <nowiki><tt>fossil add *</tt></nowiki> will happily add all files in current dir, and subdirs if present.Subsequent <nowiki><tt>fossil commit *</tt></nowiki> will fail on the subdirectories, though, saying they're not part of the repo.
    
    There is no file_isdir() handling in the <nowiki><tt>ci/commit</tt></nowiki> code, and even more confusingly, the object-types and style seem different between the two (<tt>add</tt> and <tt>ci/commit</tt>) blocks.
    
    Could these share a common function that recurses into dirs and returns strings/objects that are the files? Could <nowiki><tt>fossil ci *</tt></nowiki> be made to behave same as <nowiki><tt>fossil add *</tt></nowiki>?
    
  2. foundin changed to: "bc857ecd92"
  3. private_contact changed to: "5c164664f608e8049128be696a3d13e04aa6fafd"
  4. severity changed to: "Important"
  5. status changed to: "Open"
  6. title changed to:
    add and ci/commit are inconsistent wrt "*" handling
    
  7. type changed to: "Code_Defect"