Re: Few Questions



On Fri, Aug 29, 2014, at 03:38 PM, Jeff Ortel wrote:
Thanks for the reply!

Follow up questions:

1. How can I remove a pulled branch?  I'm not finding the command.

At the moment that's "ostree refs -d"; The underlying C API is
"ostree_repo_set_ref_immediate" with NULL.

2. Can you confirm that after removing a branch, I can run 'prune' to 
clean up unreferenced objects?

Yes.  Though see also:
https://git.gnome.org/browse/ostree/commit/?id=1834a71b1f4856612e5d0638d1f82e9831e89a39

(Kind of embarrassing it lasted this long)

Gotcha.  So if an object has the same address (hash) it IS the same 
object regardless of which remote it is pulled from.  Right?

Right.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]