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

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

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Mar 3, 2015, 11:43 UTC
Message-ID
<1425382997-24984-1-git-send-email-mhagger@alum.mit.edu>

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
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
Next: Michael Haggerty
Message 1 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.