Skip to content

Commit

Permalink
fix: be compatible with older git config command interface (e.g. git …
Browse files Browse the repository at this point in the history
…2.34)
  • Loading branch information
blaggacao committed Jan 31, 2025
1 parent b221718 commit de8a326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ in {
"${clone.upstream.url}" \
"$PRJ_ROOT/apps/${app.pname}"
pushd "$PRJ_ROOT/apps/${app.pname}"
git config set --local --comment 'frappix setup' remote.upstream.url '${clone.upstream.url}'
git config --local remote.upstream.url '${clone.upstream.url}'
${lib.concatStringsSep "\n" (map (
i: "git config --add --local --comment 'frappix setup' remote.upstream.fetch '${i}'"
i: "git config --add --local remote.upstream.fetch '${i}'"
)
clone.upstream.fetch)}
git switch -c fork;
Expand Down

0 comments on commit de8a326

Please sign in to comment.