pkgs: diff-flake: resolve given revs to commit ids
This commit is contained in:
parent
f817b278fe
commit
f64454811e
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue