All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] git config --unset is not idempotent
@ 2022-08-25  8:52 Arturo Seijas Fernandez
  2022-08-25  9:40 ` Jeff King
  2022-08-25 16:25 ` Junio C Hamano
  0 siblings, 2 replies; 3+ messages in thread
From: Arturo Seijas Fernandez @ 2022-08-25  8:52 UTC (permalink / raw)
  To: git

The command "git config --unset [option]" is not idempotent. It is
currently returning a success  code when the property had already been
set and a 5 error code otherwise.

I would expect the error code to be set according to the current state
when compared to the target state, regardless of the previous state of
the option.

Thank you,

Arturo Seijas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-25 16:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-25  8:52 [BUG] git config --unset is not idempotent Arturo Seijas Fernandez
2022-08-25  9:40 ` Jeff King
2022-08-25 16:25 ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.