reopen_tempfile(): truncate opened file
[gitweb.git] / tempfile.h
index 8959c5f1b5761dc34f1742a96941f67efd6429a7..b1b085540b1741ee0ca0ee7d265e3e2fd090335b 100644 (file)
@@ -235,8 +235,8 @@ extern int close_tempfile_gently(struct tempfile *tempfile);
  *   it (and nobody else) to inspect or even modify the file's
  *   contents.
  *
- * * `reopen_tempfile()` to reopen the temporary file. Make further
- *   updates to the contents.
+ * * `reopen_tempfile()` to reopen the temporary file, truncating the existing
+ *   contents. Write out the new contents.
  *
  * * `rename_tempfile()` to move the file to its permanent location.
  */