git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] completion: Add PS1 configuration for submodules

From
Scott Kyle <scott@appden.com>
Date
Dec 21, 2010, 22:56 UTC
Message-ID
<AANLkTimCjRq=rJ5FA7QRCyp=7B8q5R7AtuVPiTimwVR8@mail.gmail.com>
In-Reply-To
<4D06621F.6010101@web.de>
On Mon, Dec 13, 2010 at 10:12 AM, Jens Lehmann <Jens.Lehmann@web.de> wrote:
Show 20 quoted lines
> Am 12.12.2010 07:38, schrieb Jonathan Nieder:
>> Scott Kyle wrote:
>>> On Tue, Dec 7, 2010 at 1:29 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
>>>> Scott Kyle wrote:
>>
>>>>> If I set the "submodule.<name>.ignore" then diffing around inside my
>>>>> history will not show the changes to that particular submodule.
>>>>
>>>> Even if you set it to "dirty"?
>>>
>>> Setting it to "dirty" is far less disruptive, you're right, but that
>>> wouldn't do me much good since my submodules are often on different
>>> branches while developing.
>>
>> Ah, I see now.  How about something like this?  Untested, just a
>> vague sketch to show the idea.
>
> Me thinks your proposal of a new "worktree" option makes sense. Let's
> hear what Scott says ...
>

I mostly really like how 'worktree' can let me focus in on only the submodules I care about. The drawback is that git status would no longer list my true status. I know that may sound hypocritical, but I intended for this patch to only affect my PS1. At the same time, I would like to see the 'worktree' patch taken, regardless of whether you guys find mine useful.

Previous: Jens LehmannNext: Scott Kyle
Message 12 of 15 in “completion: Add PS1 configuration for submodules”
  1. completion: Add PS1 configuration for submodulesScott Kyle, Dec 6, 2010
  2. SZEDER GáborDec 7, 2010
  3. Ævar Arnfjörð BjarmasonDec 7, 2010
  4. Kevin BallardDec 7, 2010
  5. Jens LehmannDec 7, 2010
  6. Scott KyleDec 7, 2010
  7. Jens LehmannDec 7, 2010
  8. Jonathan NiederDec 7, 2010
  9. Scott KyleDec 7, 2010
  10. Jonathan NiederDec 12, 2010
  11. Jens LehmannDec 13, 2010
  12. Scott KyleDec 21, 2010
  13. Scott KyleDec 7, 2010
  14. Kevin BallardDec 7, 2010
  15. Ævar Arnfjörð BjarmasonDec 8, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.