* [wishlist] git-add(1), git-restore(1): -U for more context (with -p) @ 2023-08-13 19:21 Alejandro Colomar 2023-08-13 19:44 ` Junio C Hamano 0 siblings, 1 reply; 3+ messages in thread From: Alejandro Colomar @ 2023-08-13 19:21 UTC (permalink / raw) To: Git Mailing List [-- Attachment #1.1: Type: text/plain, Size: 250 bytes --] Hi! It would be useful to have -U in git-add(1) and git-restore(1) to be able to see more context in combination with -p. Cheers, Alex -- <http://www.alejandro-colomar.es/> GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5 [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [wishlist] git-add(1), git-restore(1): -U for more context (with -p) 2023-08-13 19:21 [wishlist] git-add(1), git-restore(1): -U for more context (with -p) Alejandro Colomar @ 2023-08-13 19:44 ` Junio C Hamano 2023-08-13 19:45 ` Alejandro Colomar 0 siblings, 1 reply; 3+ messages in thread From: Junio C Hamano @ 2023-08-13 19:44 UTC (permalink / raw) To: Alejandro Colomar; +Cc: Git Mailing List Alejandro Colomar <alx@kernel.org> writes: > It would be useful to have -U in git-add(1) and git-restore(1) > to be able to see more context in combination with -p. Even more useful would be to add commands to enlarge/shrink the context to the interactive prompt, wouldn't it? Not all hunks need unformly large context and having to decide how many lines of context to ask upfront and having to stick to the choice during the whole interactive session would be a bad interactive experience. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [wishlist] git-add(1), git-restore(1): -U for more context (with -p) 2023-08-13 19:44 ` Junio C Hamano @ 2023-08-13 19:45 ` Alejandro Colomar 0 siblings, 0 replies; 3+ messages in thread From: Alejandro Colomar @ 2023-08-13 19:45 UTC (permalink / raw) To: Junio C Hamano; +Cc: Git Mailing List [-- Attachment #1.1: Type: text/plain, Size: 718 bytes --] On 2023-08-13 21:44, Junio C Hamano wrote: > Alejandro Colomar <alx@kernel.org> writes: > >> It would be useful to have -U in git-add(1) and git-restore(1) >> to be able to see more context in combination with -p. > > Even more useful would be to add commands to enlarge/shrink the > context to the interactive prompt, wouldn't it? Not all hunks need > unformly large context and having to decide how many lines of > context to ask upfront and having to stick to the choice during the > whole interactive session would be a bad interactive experience. Yep, that would be even more useful! :) -- <http://www.alejandro-colomar.es/> GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5 [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-13 19:45 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-08-13 19:21 [wishlist] git-add(1), git-restore(1): -U for more context (with -p) Alejandro Colomar 2023-08-13 19:44 ` Junio C Hamano 2023-08-13 19:45 ` Alejandro Colomar
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).