rollback: Add comment

This commit is contained in:
Anne LoVerso 2014-06-05 16:12:25 -04:00 committed by Colin Walters
parent 406b7207ca
commit bbbf28db30

View File

@ -93,6 +93,12 @@ rpmostree_builtin_rollback (int argc,
/* There is an earlier deployment, let's assume we want to just /* There is an earlier deployment, let's assume we want to just
* insert the current one in front. * insert the current one in front.
*/ */
/*
What this does is, if we're NOT in the default boot index, it plans to prepend
our current index (1, since we can't have more than two trees) so that it becomes index 0
(default) and the current default becomes index 1
*/
index_to_prepend = booted_index; index_to_prepend = booted_index;
} }
else else