Skip to content

sha1_file: do not leak `lock_file`

Martin Ågren git 3 versions – New

Get series with b4
b4 am f132a127eebb8f1b14b87fc317ca68278fceb2e8.1507320376.git.martin.agren@gmail.com

Versions newest first · linked by author and title

  1. v3 Latest12 patches 0 repliesNew
  2. v212 patches 9 repliesSuperseded
  3. v111 patches 24 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12sha1_file: do not leak `lock_file`sha1_file.c+8 -110 replies
2/12treewide: prefer lockfiles on the stackbuiltin/am.c builtin/checkout.c builtin/clone.c +5 more+42 -490 replies
3/12lockfile: fix documentation on `close_lock_file_gently()`lockfile.h+2 -20 replies
4/12tempfile: fix documentation on `delete_tempfile()`tempfile.h+4 -40 replies
5/12checkout-index: simplify locking logicbuiltin/checkout-index.c+3 -50 replies
6/12cache-tree: simplify locking logiccache-tree.c+4 -80 replies
7/12apply: move lockfile into `apply_state`apply.c apply.h builtin/am.c +1 more+9 -170 replies
8/12apply: remove `newfd` from `struct apply_state`apply.c apply.h+7 -130 replies
9/12cache.h: document `write_locked_index()`cache.h+16 -00 replies
10/12read-cache: drop explicit `CLOSE_LOCK`-flagbuiltin/commit.c cache.h read-cache.c+15 -140 replies
11/12read-cache: leave lock in right state in `write_locked_index()`builtin/difftool.c cache.h merge.c +2 more+13 -110 replies
12/12read_cache: roll back lock in `update_index_if_able()`cache.h read-cache.c+6 -30 replies

Reviews trailers per patch

None of the 12 patches has a Reviewed-by or Acked-by.

PatchJeff KingJunio C Hamano
1/12Improved-by
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12Noticed-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread