{"thread":{"id":"18379","subject":"[PATCH 0/3] format-patch --attach/--inline use filename instead of sha1","startedAt":"2009-03-18T19:51:11Z","lastAt":"2009-03-18T19:51:11Z","messageCount":1,"participants":["Stephen Boyd"],"isPatch":true,"patchVersion":1,"patchTotal":3},"messages":[{"id":"108409","messageId":"780e0a6b0903181251t58b15a3asc5f9cc50564e11d0@mail.gmail.com","threadId":"18379","inReplyTo":null,"subject":"[PATCH 0/3] format-patch --attach/--inline use filename instead of sha1","fromName":"Stephen Boyd","fromEmail":"bebarino@gmail.com","sentAt":"2009-03-18T19:51:11Z","receivedAt":"2009-03-18T19:51:11Z","isPatch":true,"sender":{"key":"bebarino@gmail.com","avatar":"https://avatars.githubusercontent.com/u/38832?v=4"},"body":"This patch series modifies the behavior of format-patch when used with\nthe --attach or --inline command line settings. Current behavior names\nthe attached or inlined patches with the sha1 of the commit, which\nisn't very friendly or easy for a human to use when downloading the\nattachments. This series replaces the sha1 values with the filename\nused by format-patch when it outputs the patches to files.\n\nI don't know the guidelines to modifying the rev_info struct, so\nhopefully adding the filename there is not bad.\n\nStephen Boyd (3):\n  format-patch: remove unused total parameter from reopen_stdout()\n  format-patch: create patch filename in get_patch_filename()\n  format-patch: --attach/inline uses filename instead of sha1\n\n builtin-log.c                                      |   48 ++++++++++----------\n log-tree.c                                         |    8 ++--\n revision.h                                         |    1 +\n ....format-patch_--attach_--stdout_initial..master |   12 +++---\n ...format-patch_--attach_--stdout_initial..master^ |    8 ++--\n ...ff.format-patch_--attach_--stdout_initial..side |    4 +-\n ...tdout_--subject-prefix=TESTCASE_initial..master |   12 +++---\n ....format-patch_--inline_--stdout_initial..master |   12 +++---\n ...format-patch_--inline_--stdout_initial..master^ |    8 ++--\n ...ormat-patch_--inline_--stdout_initial..master^^ |    4 +-\n ...ff.format-patch_--inline_--stdout_initial..side |    4 +-\n 11 files changed, 61 insertions(+), 60 deletions(-)\n"}]}