{"thread":{"id":"24782","subject":"[PATCH v5 0/8] detached-stash: regularise handling of stash arguments by git stash","startedAt":"2010-08-18T13:07:57Z","lastAt":"2010-08-18T13:07:57Z","messageCount":1,"participants":["Jon Seymour"],"isPatch":true,"patchVersion":5,"patchTotal":8},"messages":[{"id":"148364","messageId":"1282136885-24190-1-git-send-email-jon.seymour@gmail.com","threadId":"24782","inReplyTo":null,"subject":"[PATCH v5 0/8] detached-stash: regularise handling of stash arguments by git stash","fromName":"Jon Seymour","fromEmail":"jon.seymour@gmail.com","sentAt":"2010-08-18T13:07:57Z","receivedAt":"2010-08-18T13:07:57Z","isPatch":true,"sender":{"key":"jon.seymour@gmail.com","avatar":"https://avatars.githubusercontent.com/u/207131?v=4"},"body":"This patch introduces a common flags and revision parsing function to the following git stash commands:\n * apply\n * branch\n * pop\n * drop\n * show\n\nWith these changes, git stash now:\n * allows non-stash log entry references to passed to 'stash branch' provided they are stash-like\n * relaxes the requirement that a stash log currently entry exists for 'stash show' or 'stash branch' \n * does not attempt to drop the specified revision if it doesn't look like a stash log entry reference\n * fails 'stash pop' and 'stash drop' early if the specified revision is not a stash log entry reference\n * fails early if more than one stash-like commit is specified\n * fails early if the specified revision is of the form ref@{n} and ref exists, but ref@{n} does not exist\n * reports various error conditions that can occur across multiple commanbds with consistent error messages.\n\nThe implementation of several commands is simplified to a lesser or greater degree by taking\nadvantage of the new common parsing and validation function, parse_flags_and_rev(). \n\nThis revision incorporates feedback and corrections from Johannes Sixt and Junio Hamano.\n\nJon Seymour (8):\n  detached-stash: introduce parse_flags_and_revs function\n  detached-stash: simplify stash_apply\n  detached-stash: simplify stash_drop\n  detached-stash: refactor git stash pop implementation\n  detached-stash: simplify git stash branch\n  detached-stash: simplify git stash show\n  detached-stash: tests of git stash with stash-like arguments\n  detached-stash: update Documentation\n\n Documentation/git-stash.txt |   16 ++-\n git-stash.sh                |  223 ++++++++++++++++++++++++++++---------------\n t/t3903-stash.sh            |  140 +++++++++++++++++++++++++++\n 3 files changed, 296 insertions(+), 83 deletions(-)\n\n-- \n1.7.2.1.95.g969a4.dirty\n"}]}