pkgs: diff-flake: resolve given revs to commit ids
This commit is contained in:
parent
f817b278fe
commit
f64454811e
|
@ -61,11 +61,11 @@ parse_args() {
|
|||
shift
|
||||
;;
|
||||
-n|--new-rev)
|
||||
NEW_REV="$1"
|
||||
NEW_REV="$(@git@ rev-parse "$1")"
|
||||
shift
|
||||
;;
|
||||
-p|--previous-rev)
|
||||
PREVIOUS_REV="$1"
|
||||
PREVIOUS_REV="$(@git@ rev-parse "$1")"
|
||||
shift
|
||||
;;
|
||||
--)
|
||||
|
|
Loading…
Reference in a new issue