threads / discuss / 18351

Re: .gitk should created hidden in windows

Subject: Re: .gitk should created hidden in windows

## tl;dr

4 messages between Mar 17, 2009 and Mar 17, 2009.

replies: 3people: 2as markdown or json

John Dlugosz· Mar 17, 2009, 15:56 UTC · lore

=== Re: === The problem is that windows dose not hides files beginning with a dot as it is in unix. So the .gitk file is created as visible in the windows user profile. Problematic too is that i can no set the hidden attribute to this file, because it is recreated every time i start gitk, so the hidden attribute gets lost. === end ===

I didn't even notice that file, and I use gitk all the time. That directory it put it in, the "top level" user directory based on profile, is not something that is directly examined by most users. It is probably used as roughly equivalent to the home directory under Unix, but is not exactly---Windows has separate defined locations for programs's settings, user documents, and desktop among others. I think this file properly belongs in %APPDATA%, which is a hidden directory. The stuff in that directory is not itself hidden.

That is, use the APPDATA environment variable to locate the file, rather than the HOME environment variable.

--John
TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.
  If you received this in error, please contact the sender and delete the material from any computer.
Steve Wagner· Mar 17, 2009, 16:06 UTC · re: John Dlugosz · lore
> I didn't even notice that file, and I use gitk all the time.  That
> directory it put it in, the "top level" user directory based on profile,
> is not something that is directly examined by most users.

This is true for XP and before, but in Vista, 2008 and Windows 7 the user have directly access to the user profile directory (simply click on the username in startmenue) and can see the .gitk file.

Steve
John Dlugosz schrieb:
Show 26 quoted lines
> === Re: ===
> The problem is that windows dose not hides files beginning with a dot as
> it is in unix. So the .gitk file is created as visible in the windows
> user profile. Problematic too is that i can no set the hidden attribute
> to this file, because it is recreated every time i start gitk, so the
> hidden attribute gets lost.
> === end ===
> 
> I didn't even notice that file, and I use gitk all the time.  That
> directory it put it in, the "top level" user directory based on profile,
> is not something that is directly examined by most users.  It is
> probably used as roughly equivalent to the home directory under Unix,
> but is not exactly---Windows has separate defined locations for
> programs's settings, user documents, and desktop among others.  I think
> this file properly belongs in %APPDATA%, which is a hidden directory.
> The stuff in that directory is not itself hidden.
> 
> That is, use the APPDATA environment variable to locate the file, rather
> than the HOME environment variable.
> 
> --John
> 
> 
> 
> 
> TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibite
 d. If you received this in error, please contact the sender and delete the material from any computer.
> 
John Dlugosz· Mar 17, 2009, 16:11 UTC · re: Steve Wagner · lore

RE: .gitk should created hidden in windows

Show 6 quoted lines
> This is true for XP and before, but in Vista, 2008 and Windows 7 the
> user have directly access to the user profile directory (simply click
> on
> the username in startmenue) and can see the .gitk file.
> 
> Steve

Yes, I was thinking that I was confronted by these things more in Vista on a desktop, but can't remember exactly. A lot of the directories are symbolic links that can't be clicked! I'm running Windows 2003 which I think is based on the Vista core, but doesn't have the flashy UI candy, for servers.

But, you would not see more clutter if it was in the place where your APPDATA environment variable points, right?

--John
TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.
  If you received this in error, please contact the sender and delete the material from any computer.
Steve Wagner· Mar 17, 2009, 16:35 UTC · re: John Dlugosz · lore
John Dlugosz schrieb:
Show 5 quoted lines
> Yes, I was thinking that I was confronted by these things more in Vista
> on a desktop, but can't remember exactly.  A lot of the directories are
> symbolic links that can't be clicked!  I'm running Windows 2003 which I
> think is based on the Vista core, but doesn't have the flashy UI candy,
> for servers.

As far as is know, 2003 is based on xp and the this large amount of symbolic links are only there to dont break bad develop applications which are not using variables like APPDATA.

> But, you would not see more clutter if it was in the place where your
> APPDATA environment variable points, right?

Yes this is the better approach on windows, but since it is only one file, it would be ok to leave it there and make it hidden.

Steve

← back to recent threads