git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3 0/7] Fix some problems with reflog expiration

From
Stefan Beller <sbeller@google.com>
Date
Mar 5, 2015, 00:18 UTC
Message-ID
<CAGZ79kY85u5fxM=sKFoRWj2OK6wzGXOieXTKn9z+YO6P8vS+EA@mail.gmail.com>
In-Reply-To
<1425382997-24984-1-git-send-email-mhagger@alum.mit.edu>
On Tue, Mar 3, 2015 at 3:43 AM, Michael Haggerty <mhagger@alum.mit.edu> wrote:
Show 17 quoted lines
> This is v3 of the patch series. Thanks to Junio for his comments
> about v2 [1]; I think this version addresses all of his points.
>
> Changes since v2:
>
> * Introduce a temporary in "struct ref_lock: delete the force_write
>   member" to make a complicated boolean expression easier to
>   understand.
>
> * Split the documentation of options for "reflog expire" and "reflog
>   delete", and make another couple tweaks to the "reflog"
>   documentation.
>
> * Add a NEEDSWORK comment suggesting that the "reflog" command should
>   use parse_options() to process its command line.
>
> [1] http://thread.gmane.org/gmane.comp.version-control.git/264586
The whole series is
Reviewed-by: Stefan Beller <sbeller@google.com>

Thanks for adjusting the commit from me to fit in better into the series. Thanks, Stefan

Show 20 quoted lines
>
> Michael Haggerty (6):
>   write_ref_sha1(): remove check for lock == NULL
>   write_ref_sha1(): Move write elision test to callers
>   lock_ref_sha1_basic(): do not set force_write for missing references
>   reflog: improve and update documentation
>   reflog_expire(): ignore --updateref for symbolic references
>   reflog_expire(): never update a reference to null_sha1
>
> Stefan Beller (1):
>   struct ref_lock: delete the force_write member
>
>  Documentation/git-reflog.txt | 144 ++++++++++++++++++++++++++-----------------
>  builtin/reflog.c             |   9 +--
>  refs.c                       |  65 ++++++++++---------
>  3 files changed, 126 insertions(+), 92 deletions(-)
>
> --
> 2.1.4
>
Previous: Michael Haggerty
Message 9 of 9 in “Fix some problems with reflog expiration”
  1. 0/7 Fix some problems with reflog expirationMichael Haggerty, Mar 3, 2015
  2. 1/7 write_ref_sha1(): remove check for lock == NULLMichael Haggerty, Mar 3, 2015
  3. 2/7 write_ref_sha1(): Move write elision test to callersMichael Haggerty, Mar 3, 2015
  4. 3/7 lock_ref_sha1_basic(): do not set force_write for missing referencesMichael Haggerty, Mar 3, 2015
  5. 4/7 struct ref_lock: delete the force_write memberMichael Haggerty, Mar 3, 2015
  6. 5/7 reflog: improve and update documentationMichael Haggerty, Mar 3, 2015
  7. 6/7 reflog_expire(): ignore --updateref for symbolic referencesMichael Haggerty, Mar 3, 2015
  8. 7/7 reflog_expire(): never update a reference to null_sha1Michael Haggerty, Mar 3, 2015
  9. Stefan BellerMar 5, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.