]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/stash: factor out revision parsing into a function
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 12 Jun 2025 01:12:18 +0000 (01:12 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Jun 2025 20:32:17 +0000 (13:32 -0700)
commit7572e59b3d89a8ff15a2d81de7d5f1814181d981
tree449c7c6e4685aa73589405f69a8f8ac8d7a579bd
parent393bbb21c977d4dbfcfc8ffd7474712b65719d3d
builtin/stash: factor out revision parsing into a function

We allow several special forms of stash names in this code.  In the
future, we'll want to allow these same forms without parsing a stash
commit, so let's refactor this code out into a function for reuse.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/stash.c