Add git pullRebase option
This commit is contained in:
parent
6af19b3af4
commit
48bae1315e
1 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,11 @@ in {
|
||||||
default = "master";
|
default = "master";
|
||||||
description = "default git branch";
|
description = "default git branch";
|
||||||
};
|
};
|
||||||
|
pullRebase = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "git config pull.rebase {pullRebase}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
@ -56,6 +61,7 @@ in {
|
||||||
transfer.fsckobjects = true;
|
transfer.fsckobjects = true;
|
||||||
fetch.fsckobjects = true;
|
fetch.fsckobjects = true;
|
||||||
receive.fsckobjects = true;
|
receive.fsckobjects = true;
|
||||||
|
pull.rebase = cfg.pullRebase;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue