#
#
# patch "ChangeLog"
# from [e130fcd32c009c5f7ad8b31d5736aed3e9f67c09]
# to [05e5fbfeb839b2d9f0a454c9fb79521d38d929d1]
#
# patch "commands.cc"
# from [981960f6974af94a4f65c7a07441ee6cea47a677]
# to [c6b8529c018bfba98d6bc0b5c0e23eb96a308552]
#
============================================================
--- ChangeLog e130fcd32c009c5f7ad8b31d5736aed3e9f67c09
+++ ChangeLog 05e5fbfeb839b2d9f0a454c9fb79521d38d929d1
@@ -1,3 +1,11 @@
+2006-02-24 Richard Levitte
+
+ * commands.cc (ls_changed): I was a bit overly paranoid about the
+ possibilities with C++ and defined an explicit functor for the set
+ instead of relying on the automatic generation of less.
+ Derek Scherger made me realise I was a bit overzealous, and this
+ change removes the explicit functor.
+
2006-02-23 Matt Johnston
* enumerator.{cc,hh}: avoid transferring deltas on both sides of merge
============================================================
--- commands.cc 981960f6974af94a4f65c7a07441ee6cea47a677
+++ commands.cc c6b8529c018bfba98d6bc0b5c0e23eb96a308552
@@ -1740,13 +1740,6 @@
}
-struct lt_file_path
-{
- bool operator()(const file_path &fp1, const file_path &fp2) const
- {
- return fp1 < fp2;
- }
-};
static void
ls_changed (app_state & app, vector const & args)
{
@@ -1754,7 +1747,7 @@
revision_id rid;
roster_t old_roster, new_roster;
data tmp;
- std::set files;
+ std::set files;
app.require_workspace();
get_working_revision_and_rosters(app, args, rs, old_roster, new_roster);