All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ramsay Jones <ramsay@ramsayjones.plus.com>
To: Johannes Sixt <j6t@kdbg.org>
Cc: "Junio C Hamano" <gitster@pobox.com>,
	"Johannes Schindelin" <johannes.schindelin@gmx.de>,
	git@vger.kernel.org, "Michael Blume" <blume.mike@gmail.com>,
	"Torsten Bögershausen" <tboegi@web.de>
Subject: Re: [PATCH] t0060: loosen overly strict expectations
Date: Fri, 15 Jan 2016 00:46:22 +0000	[thread overview]
Message-ID: <5698415E.7070907@ramsayjones.plus.com> (raw)
In-Reply-To: <56981DC2.6070706@kdbg.org>



On 14/01/16 22:14, Johannes Sixt wrote:
> Am 14.01.2016 um 19:13 schrieb Ramsay Jones:
>> Correct me if I'm wrong (quite possible), but
>> _each_ drive has a current working directory associated with
>> it in win32, so it's a bit difficult to use drive designators
>> with a relative path (eg. C:usr/lib).
> 
> As far as it matters for Git, such a path is still an absolute path, 
> because it is not anchored at $(pwd).

I have been using cygwin on windows since beta-18 (about 1995), in order
to avoid most of the horrors of the windows command line, so I'm a little
rusty. ;-)

You know windows _much_ better than me, so could you please educate me
on this point. I tried this (on windows 8.1):

    ramsay@satellite $ cmd
    Microsoft Windows [Version 6.3.9600]
    (c) 2013 Microsoft Corporation. All rights reserved.
    
    C:\cygwin64\home\ramsay>cd junk
    cd junk
    
    C:\cygwin64\home\ramsay\junk>dir
    dir
     Volume in drive C is TI31255200A
     Volume Serial Number is 0024-4AC0
    
     Directory of C:\cygwin64\home\ramsay\junk
    
    15/01/2016  00:23    <DIR>          .
    15/01/2016  00:23    <DIR>          ..
    15/01/2016  00:23                 1 regular
    15/01/2016  00:23    <DIR>          sub-1
    15/01/2016  00:24    <DIR>          sub-2
                   1 File(s)              1 bytes
                   4 Dir(s)  800,988,291,072 bytes free
    
    C:\cygwin64\home\ramsay\junk>dir C:
    dir C:
     Volume in drive C is TI31255200A
     Volume Serial Number is 0024-4AC0
    
     Directory of C:\cygwin64\home\ramsay\junk
    
    15/01/2016  00:23    <DIR>          .
    15/01/2016  00:23    <DIR>          ..
    15/01/2016  00:23                 1 regular
    15/01/2016  00:23    <DIR>          sub-1
    15/01/2016  00:24    <DIR>          sub-2
                   1 File(s)              1 bytes
                   4 Dir(s)  800,988,291,072 bytes free
    
    C:\cygwin64\home\ramsay\junk>dir C:.
    dir C:.
     Volume in drive C is TI31255200A
     Volume Serial Number is 0024-4AC0
    
     Directory of C:\cygwin64\home\ramsay\junk
    
    15/01/2016  00:23    <DIR>          .
    15/01/2016  00:23    <DIR>          ..
    15/01/2016  00:23                 1 regular
    15/01/2016  00:23    <DIR>          sub-1
    15/01/2016  00:24    <DIR>          sub-2
                   1 File(s)              1 bytes
                   4 Dir(s)  800,988,291,072 bytes free
    
    C:\cygwin64\home\ramsay\junk>dir C:\
    dir C:\
     Volume in drive C is TI31255200A
     Volume Serial Number is 0024-4AC0
    
     Directory of C:\
    
    17/09/2015  15:52    <DIR>          cygwin64
    05/08/2015  10:10               383 ftconfig.ini
    09/04/2014  05:41    <DIR>          Intel
    22/08/2013  15:22    <DIR>          PerfLogs
    06/10/2015  19:28    <DIR>          Program Files
    26/12/2015  14:09    <DIR>          Program Files (x86)
    18/05/2014  11:18                 0 Recovery.txt
    03/12/2013  17:02    <DIR>          Toshiba
    25/06/2014  18:15    <DIR>          UBIOS
    26/12/2015  14:09    <DIR>          Users
    27/08/2015  10:08    <DIR>          Windows
                   2 File(s)            383 bytes
                   9 Dir(s)  800,988,299,264 bytes free
    
    C:\cygwin64\home\ramsay\junk>dir C:sub-1
    dir C:sub-1
     Volume in drive C is TI31255200A
     Volume Serial Number is 0024-4AC0
    
     Directory of C:\cygwin64\home\ramsay\junk\sub-1
    
    15/01/2016  00:23    <DIR>          .
    15/01/2016  00:23    <DIR>          ..
    15/01/2016  00:23                 1 bill
    15/01/2016  00:23                 1 fred
                   2 File(s)              2 bytes
                   2 Dir(s)  800,988,299,264 bytes free
    
    C:\cygwin64\home\ramsay\junk>exit
    exit
    ramsay@satellite $ 

... which seems to contradict what you say above.

What am I missing?

ATB,
Ramsay Jones


    

  reply	other threads:[~2016-01-15  0:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-14  6:48 [PATCH] t0060: loosen overly strict expectations Johannes Schindelin
2016-01-14 17:33 ` Junio C Hamano
2016-01-14 18:13   ` Ramsay Jones
2016-01-14 22:14     ` Johannes Sixt
2016-01-15  0:46       ` Ramsay Jones [this message]
2016-01-15  6:34         ` Johannes Schindelin
2016-01-15 14:53           ` Ramsay Jones
2016-01-15  6:54         ` Johannes Sixt
2016-01-15 14:55           ` Ramsay Jones
2016-01-14 18:52 ` Eric Sunshine
2016-01-15  6:35   ` Johannes Schindelin
2016-01-15 17:26     ` Junio C Hamano
2016-01-19  9:40       ` Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5698415E.7070907@ramsayjones.plus.com \
    --to=ramsay@ramsayjones.plus.com \
    --cc=blume.mike@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=j6t@kdbg.org \
    --cc=johannes.schindelin@gmx.de \
    --cc=tboegi@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.