Re: [PATCH 0/1] Adding git-ignore command, tests, and documentation.

2019-07-18 Thread Jeff King
On Wed, Jul 17, 2019 at 09:35:34AM -0700, Junio C Hamano wrote: > "Thurston via GitGitGadget" writes: > > > Instead of managing paths and relative paths such as echo > > "path/to/the/file.txt" >../../../../../../.gitignore git ignore > > path/to/the/file.txt No matter what directory that is in,

Re: [PATCH 0/1] Adding git-ignore command, tests, and documentation.

2019-07-17 Thread Junio C Hamano
"Thurston via GitGitGadget" writes: > Instead of managing paths and relative paths such as echo > "path/to/the/file.txt" >../../../../../../.gitignore git ignore > path/to/the/file.txt No matter what directory that is in, the correct > relative path will be added to the gitignore. Hmph, do you m

[PATCH 0/1] Adding git-ignore command, tests, and documentation.

2019-07-16 Thread Thurston via GitGitGadget
git-ignore will allow users to quickly add entries to the gitignore files in the repositories. Many times, I'll have a config file or log file buried in a series of sub-directories and find it frustrating to edit the right git ignore with the right relative path to the file that i want to add. Thi