Hi I was recently working on some git hooks with the makemessages command and I noticed that the "POT-Creation-Date" was always updated even if no strings were added, removed or relocated.
I created a ticket (#33056 <https://code.djangoproject.com/ticket/33056>) and was redirected to #6106 <https://code.djangoproject.com/ticket/6106> which is the original ticket which was closed over 11 years ago. However, I'd like to bring this into discussion and hoping to open this issue once again. If the po file exists, the makemessages command uses `msgmerge` in the `write_po_file` method to get the contents of the po file. (Refer this <https://github.com/django/django/blob/3219dd3388c437b4bd869b76ddd43c9cdad05090/django/core/management/commands/makemessages.py#L605-L634>). However, msgmerge is not ran in the update mode using the `--update` flag <https://www.gnu.org/software/gettext/manual/html_node/msgmerge-Invocation.html> . I propose on added this flag and making other suitable modifications as this causes a lot of issues with source control and git hooks. I've created a sample PR <https://github.com/django/django/pull/14800> for the same. Looking forward to hear what everyone thinks about this! Thanks and regards, Daniyal Abbasi -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/32440770-55aa-4feb-b164-6940ca07838fn%40googlegroups.com.