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
|
shift
|
||||||
;;
|
;;
|
||||||
-n|--new-rev)
|
-n|--new-rev)
|
||||||
NEW_REV="$1"
|
NEW_REV="$(@git@ rev-parse "$1")"
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
-p|--previous-rev)
|
-p|--previous-rev)
|
||||||
PREVIOUS_REV="$1"
|
PREVIOUS_REV="$(@git@ rev-parse "$1")"
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--)
|
--)
|
||||||
|
|
Loading…
Reference in a new issue