Loop over all the stashed states and issue a callback for each one.
If the callback returns a non-zero value, this will stop looping.
@param repo Repository where to find the stash.
@param callback Callback to invoke per found stashed state. The most recent stash state will be enumerated first.
@param payload Extra parameter to callback function.
@return 0 on success, non-zero callback return value, or error code.
See Implementation
Loop over all the stashed states and issue a callback for each one.
If the callback returns a non-zero value, this will stop looping.
@param repo Repository where to find the stash.
@param callback Callback to invoke per found stashed state. The most recent stash state will be enumerated first.
@param payload Extra parameter to callback function.
@return 0 on success, non-zero callback return value, or error code.