NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
slobodan has quit [Ping timeout: 260 seconds]
Hawk777 has quit [Quit: Leaving.]
Ivan0v has joined #openocd
Ivan0v has quit [Ping timeout: 246 seconds]
Ivan0v has joined #openocd
Ivan0v has quit [Ping timeout: 255 seconds]
renrelkha has quit [Server closed connection]
renrelkha has joined #openocd
crabbedhaloablut has joined #openocd
Ivan0v has joined #openocd
Ivan0v has quit [Ping timeout: 252 seconds]
nerozero has joined #openocd
dormito has quit [Server closed connection]
dormito has joined #openocd
russ has quit [Ping timeout: 240 seconds]
Ivan0v has joined #openocd
Ivan0v has quit [Ping timeout: 260 seconds]
Haohmaru has joined #openocd
russ has joined #openocd
PsySc0rpi0n has joined #openocd
Ivan0v has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 260 seconds]
PsySc0rpi0n has joined #openocd
slobodan has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 260 seconds]
PsySc0rpi0n has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 252 seconds]
defiant has joined #openocd
Ivan0v has quit [Remote host closed the connection]
PsySc0rpi0n has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 260 seconds]
csanchez has joined #openocd
csanchez has quit [Client Quit]
Ivan0v has joined #openocd
csanchezdll has joined #openocd
<csanchezdll> I wanted to sent a contribution fore review. It had multiple commits, and after pushing I have seen this has created multiple patches in gerrit... which is confusing (all but the first show merge conflicts because they need to be applied in order...)
<csanchezdll> little mess :S I can stash locally and resubmit, which would probably save some reviewer time. But I do not want to 1) make more of a mess and 2) submit a duplicate
<PaulFertser> csanchezdll: hi
bvernoux has joined #openocd
<PaulFertser> csanchezdll: each git commit is a separate "change" in Gerrit terminology.
<PaulFertser> csanchezdll: it's still a git branch so every commit has the parent hash encoded as part of the metadata.
<PaulFertser> csanchezdll: merge conflicts are shown because default merge strategy is "cherry-pick", that shouldn't worry you, the maintainers are not going to merge them out of order :)
<PaulFertser> csanchezdll: regarding the stashing/resubmition, if your patches are not really meant to be distinct patches doing different things then indeed you should stash. No fix up patches are "allowed", the history is supposed to be clean enough. You should keep the Change-Id in commit message from the patch that you fold the fixups into, and then you can abandon unneeded patches.
<PaulFertser> csanchezdll: Gerrit tracks each commit by unique Change-Id in the commit message, if you push a new commit with the same changeid it will be registered as a new revision of the patch.
<PaulFertser> csanchezdll: I hope that's clear now but if you have any questions surely you're welcome to ask and I'll try to clarify.
<PaulFertser> Each change on Gerrit is supposed to have a meaning of its own, either doing some bug fixing or adding a new feature etc.
<PaulFertser> csanchezdll: and btw, thank you for contributing, that's always appreciated!
<csanchezdll> all the commits are self-contained, but they are related. The code builds and works in every one of them, but the first ones are "preparations" for later. I do this to give more info for reviewers but for commit history in main is probably better to stash them. I will do that, keeping the commit id of the last one
<csanchezdll> s/main/master
<karlp> s/stash/squash/ I think you mean...
<csanchezdll> karlp: totally correct
<PaulFertser> csanchezdll: yes, on Gerrit your commits should look like the final commits in master, normally reviewers are not interested in your development history.
<PaulFertser> Thank you karlp for being attentive :)
<PaulFertser> csanchezdll: and if you squash the commits not only you can, you're expected to abandon the Gerrit changes that are no longer relevant.
<csanchezdll> of course, understood
<csanchezdll> all done, now it is a single patchset, reused change-id, all others abandoned
<csanchezdll> thanks PaulFertser & karlp !
flatmush has quit [Ping timeout: 255 seconds]
csanchezdll has quit [Quit: leaving]
bacam has quit [Server closed connection]
bacam has joined #openocd
flatmush has joined #openocd
Ivan0v has quit [Remote host closed the connection]
Ivan0v has joined #openocd
Ivan0v has quit [Ping timeout: 260 seconds]
nerozero has quit [Ping timeout: 240 seconds]
gzlb has quit [Ping timeout: 255 seconds]
gzlb has joined #openocd
Hawk777 has joined #openocd
crabbedhaloablut has quit []
Ivan0v has joined #openocd
BuldiBaerBeer has joined #openocd
BuldiBaerBeer has quit [Client Quit]
Ivan0v has quit [Remote host closed the connection]
Ivan0v has joined #openocd
Ivan0v has quit [Ping timeout: 260 seconds]
dormito has quit [Ping timeout: 240 seconds]
dormito has joined #openocd
bvernoux has quit [Quit: Leaving]
Ivan0v has joined #openocd
Ivan0v has quit [Ping timeout: 245 seconds]