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

Re: [PATCH] test suite: correct export var=val usage

From
Wincent Colaiuta <win@wincent.com>
Date
Feb 18, 2009, 16:56 UTC
Message-ID
<F21AE3A2-480B-4311-81E7-32B75B49A356@wincent.com>
In-Reply-To
<76718490902180529w7520ba64kb7d0d6b284b406bd@mail.gmail.com>
El 18/2/2009, a las 14:29, Jay Soffian escribió:
Show 18 quoted lines
> On Wed, Feb 18, 2009 at 8:19 AM, Jay Soffian <jaysoffian@gmail.com>  
> wrote:
>> On Wed, Feb 18, 2009 at 5:06 AM, Wincent Colaiuta <win@wincent.com>  
>> wrote:
>>> Perhaps my eyes are playing tricks on me but I see the original  
>>> version
>>> setting MSG to an empty string and exporting it, and your version  
>>> setting
>>> MSG to "1" and exporting it. So which one is wrong? The original  
>>> or yours?
>>
>> http://thread.gmane.org/gmane.comp.version-control.git/109897/focus=110462
>
> Rather, http://thread.gmane.org/gmane.comp.version-control.git/109897/focus=110457
>
> (Cursed frame interface.)
>
> (The original is wrong.)

I'm definitely blind then, or perhaps I didn't explain myself. At least, I saw nothing in the message you linked that answers my question. Let me try again.

- Prior to your patch, in the two hunks I quoted we set MSG to an  
empty string and exported it
- After your patch, the hunks now set MSG to "1" (not the same string)  
and export it

In other words, you not only changed the _style_ from "assign and export in a single step" to "assign and then export as two separate steps"; you also changed _what_ gets exported in two of those hunks.

So my question really was, was this intended?

Cheers, Wincent

Previous: Johannes SchindelinNext: Thomas Rast
Message 43 of 47 in “notes: only clean up message file when editing”
  1. 1/4 notes: only clean up message file when editingThomas Rast, Feb 14, 2009
  2. 2/4 notes: use GIT_EDITOR and core.editor over VISUAL/EDITORThomas Rast, Feb 14, 2009
  3. Johannes SchindelinFeb 14, 2009
  4. 3/4 t3301: fix confusing test for valid notes refThomas Rast, Feb 14, 2009
  5. Johannes SchindelinFeb 14, 2009
  6. 4/4 notes: refuse to edit notes outside refs/notes/Thomas Rast, Feb 14, 2009
  7. Johannes SchindelinFeb 14, 2009
  8. Thomas RastFeb 14, 2009
  9. 1/5 notes: only clean up message file when editingThomas Rast, Feb 14, 2009
  10. Junio C HamanoFeb 15, 2009
  11. 2/5 notes: use GIT_EDITOR and core.editor over VISUAL/EDITORThomas Rast, Feb 14, 2009
  12. 3/5 t3301: fix confusing quoting in test for valid notes refThomas Rast, Feb 14, 2009
  13. 4/5 t3301: use test_must_fail instead of !Thomas Rast, Feb 14, 2009
  14. Johannes SchindelinFeb 14, 2009
  15. Junio C HamanoFeb 15, 2009
  16. Thomas RastFeb 15, 2009
  17. Jeff KingFeb 15, 2009
  18. Thomas RastFeb 15, 2009
  19. Mike RalphsonFeb 17, 2009
  20. Jeff KingFeb 17, 2009
  21. Mike RalphsonFeb 17, 2009
  22. Jeff KingFeb 17, 2009
  23. Jeff KingFeb 18, 2009
  24. Johannes SchindelinFeb 18, 2009
  25. Jeff KingFeb 18, 2009
  26. Johannes SchindelinFeb 18, 2009
  27. Jeff KingFeb 19, 2009
  28. Johannes SchindelinFeb 19, 2009
  29. Jeff KingFeb 19, 2009
  30. Thomas RastFeb 17, 2009
  31. Thomas RastFeb 17, 2009
  32. Brandon CaseyFeb 17, 2009
  33. Junio C HamanoFeb 17, 2009
  34. test suite: correct export var=val usageJay Soffian, Feb 17, 2009
  35. Johannes SchindelinFeb 17, 2009
  36. Jay SoffianFeb 18, 2009
  37. test suite: correct export var=val usageJay Soffian, Feb 17, 2009
  38. test suite: correct export var=val usageJay Soffian, Feb 17, 2009
  39. Wincent ColaiutaFeb 18, 2009
  40. Jay SoffianFeb 18, 2009
  41. Jay SoffianFeb 18, 2009
  42. Johannes SchindelinFeb 18, 2009
  43. Wincent ColaiutaFeb 18, 2009
  44. Thomas RastFeb 18, 2009
  45. test suite: correct export var=val usageJay Soffian, Feb 18, 2009
  46. 5/5 notes: refuse to edit notes outside refs/notes/Thomas Rast, Feb 14, 2009
  47. Johannes SchindelinFeb 14, 2009

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.