Skip to content

Correctly handle transient files in shared repositories

Johannes Schindelin git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 7 repliesIn review
  2. v22 patches 10 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2commit: allow editing the commit message even in shared reposbuiltin/commit.c git-compat-util.h wrapper.c+15 -10 replies
2/2Handle more file writes correctly in shared reposbuiltin/fast-export.c builtin/fetch.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] Correctly handle transient files in shared repositories

Transient files, e.g. commit messages, are writable only by the owner, even in shared repositories, to avoid interference between competing users working on the same files.

These files are typically not deleted after use. As a consequence, we have to delete such files before writing when they are owned by someone else than the current user.

The only change relative to v2 is that the second commit message clarifies why apply, fsck and fast-import are left unchanged.

Johannes Schindelin (2):
commit: allow editing the commit message even in shared repos Handle more file writes correctly in shared repos

 builtin/commit.c      |  2 +-
 builtin/fast-export.c |  2 +-
 builtin/fetch.c       |  2 +-
 git-compat-util.h     |  1 +
 wrapper.c             | 13 +++++++++++++
 5 files changed, 17 insertions(+), 3 deletions(-)
Signature · 1 line
2.6.3.windows.1.300.g1c25e49