Interest in options for stash -k and -u by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,


After some discussion on Mastodon[1], I decided to try my hand at creating configuration options that enable --keep-index and --include-untracked in git-stash by default. I have made a preliminary such patch[2], and some additional discussion[3] has encouraged me to try submitting it upstream.

I am wondering whether this change is something that would even be considered for being accepted. The patch still needs some work (mainly documentation and tests), which I'd be happy to do if I knew there was upstream interest in this work.

I would also appreciate feedback on the patch. Currently, it creates two separate options: stash.keepindex and stash.includeuntracked. These options set the default value of --keep-index and --include-untracked if not otherwise specified (e.g., --no-keep-index) and do not conflict with other options (e.g., --patch). More details are of course available in the source code[2].


Thank you,

Ricardo "MithicSpirit" Prado Cunha


[1] https://bsd.network/@ed1conf/111783574839749798

[2] https://github.com/MithicSpirit/git/commit/f33c8d5d26d8438ddb123781bd5db3bff8618247.patch

[3] https://social.jvns.ca/@b0rk/111880230506448122

Attachment: OpenPGP_0xFEA8F724F2800E40.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux