I did a PR, with small adjustments.

Pierre

On 20/08/2020 21:00, Stéphane Ducasse wrote:
pablo may be we should add this in a class comment or fly by help somewhere.

S

On 20 Aug 2020, at 11:45, teso...@gmail.com <mailto:teso...@gmail.com> wrote:

Hi,
     the adopt commit operation has nothing to do with the rebase. It
sets the reference commit of the image to the given commit. It does
not affect the git repository.
The image knows at any moment the commit it has loaded (or it supposed
to have loaded).
The adopt operation overrides the reference commit with the selected
one, it does not affect the loaded code.
There is risk of doing so, it changes the commit in the image but
without changing the repository nor the loaded code. So, it can
produce a detached working-copy, and also it affects the records of
changes the image has.

On Thu, Aug 20, 2020 at 5:16 AM Esteban Maringolo <emaring...@gmail.com <mailto:emaring...@gmail.com>> wrote:

Hi,

What does the "Adopt commit" mean?

It seems like a rebase, but I'm not sure.

I often have ongoing changes in my image, and also changes in the
filesystem (css, js, Dockerfile, etc.). So what I do is to commit on
the filesystem, and then "adopt" the recently created commit, and then
commit in Iceberg (and probably push).

Is this okay? Is there any risk in doing this?

Regards!

Esteban A. Maringolo



--
Pablo Tesone.
teso...@gmail.com <mailto:teso...@gmail.com>


--------------------------------------------
Stéphane Ducasse
http://stephane.ducasse.free.fr / http://www.pharo.org
03 59 35 87 52
Assistant: Aurore Dalle
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

Reply via email to