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

Re: [PATCH] git-rebase.sh: Change .dotest directory to .git-dotest

From
Jari Aalto <jari.aalto@cante.net>
Date
Feb 5, 2008, 22:51 UTC
Message-ID
<ejbrxbid.fsf@blue.sea.net>
In-Reply-To
<alpine.LSU.1.00.0802052236220.8543@racer.site>
* Tue 2008-02-05 Johannes Schindelin <Johannes.Schindelin@gmx.de>
* Message-Id: alpine.LSU.1.00.0802052236220.8543@racer.site
Show 7 quoted lines
> On at least one machine (not the current one, because I was too lazy), I 
> have a git alias to call when the patch does not apply, to call another 
> program in turn which made it easier for me to integrate a non-applying 
> patch into the current working directory.
>
> And guess what: this script accesses .dotest/.  Yes, I know, it was 
> _prone_ to move.

If somebody has written scripts to do something with the internals, he already knows the internals. I'm confident those can easily track the changes. They are experts already if they use .dotest.

All good shell scripts test the conditions before they proceed. Like in this case. Something:

    dir=.dotest
    [ -d "$dir" ] || { echo "No directory $dir" >&2; exit 1; }
Sloppy scripts are best left to script writers headache.
Jari
-- 
Welcome to FOSS revolution: we fix and modify until it shines
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 7 of 12 in “git-rebase.sh: Change .dotest directory to .git-dotest”
  1. git-rebase.sh: Change .dotest directory to .git-dotestJari Aalto, Feb 5, 2008
  2. Mike HommeyFeb 5, 2008
  3. Johannes SchindelinFeb 5, 2008
  4. Jari AaltoFeb 5, 2008
  5. Linus TorvaldsFeb 5, 2008
  6. Johannes SchindelinFeb 5, 2008
  7. Jari AaltoFeb 5, 2008
  8. Johannes SchindelinFeb 5, 2008
  9. Junio C HamanoFeb 6, 2008
  10. Kristian HøgsbergFeb 5, 2008
  11. Johannes SchindelinFeb 6, 2008
  12. Nicolas PitreFeb 6, 2008

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.