git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "brian m. carlson" <sandals@crustytoothpaste.net>
To: On Luk <on.luk@webssup.com>
Cc: git@vger.kernel.org
Subject: Re: Dropbox do not sync particular files after using git push
Date: Fri, 28 Feb 2020 22:40:11 +0000	[thread overview]
Message-ID: <20200228224011.GB9290@camp.crustytoothpaste.net> (raw)
In-Reply-To: <A07B2628-8AEB-4520-8C60-16BE607B3022@webssup.com>

[-- Attachment #1: Type: text/plain, Size: 2631 bytes --]

On 2020-02-24 at 03:59:25, On Luk wrote:
> Hi Sir/Madam,
> 
> I tried to report this issue to dropbox technical team, but they replied that the issue was not caused by Dropbox, so I try to report to your team as a bug report below:
> 
> Everytime I used git to push commit to my remote repo located in my dropbox, some files stuck in syncing status and can’t be able to sync to dropbox. To get those files be synced, I need to do one of the follow steps everytime by manually:
> 
> 1.	Drag and drop back the file to dropbox using the finder.
> OR
> 2.	Click Pause and resume syncing in dropbox desktop manager.
> OR
> 3.	Restart Dropbox.
> 
> To make it clear, I prepared a screen recording to show the issue that I am facing.
> 
> www.dropbox.com/s/ivn7qytk0u67v6n/Screen%20Recording%202020-01-03%20at%2012.21.21%20PM.mov?dl=0
> 
> This issue only appear after I switch to use my new computer running as macOS 10.15, everything works fine in my old computer running as macOS 10.13.6.

In general, using Dropbox or other file syncing programs that sync file
by file is a bad idea.  The state of a Git repository cannot be
represented on a file-by-file basis, and these file syncing programs
cannot replicate the POSIX semantics required for data integrity.  This
is just a limitation of those tools and how they work.

If you must sync your Git repository using Dropbox, it would be better
to have a post-receive hook in your destination repository that packages
the repository using git bundle and stores that in the Dropbox folder to
sync from.

Whether Dropbox does or does not sync files is definitely a Dropbox
issue, and not a Git issue.  Git knows nothing about Dropbox and does
not interact with it in any meaningful way.

> The information in this electronic mail ("e-mail") message is for
> the use of the named recipient(s) only and may be confidential. The
> information may be protected by privilege, work product immunity or other
> applicable law. If you are not the intended recipient(s), the retention,
> dissemination, distribution or copying of this e-mail message is strictly
> prohibited. If you receive this e-mail message in error, please notify me
> immediately by replying to the message and thereafter, delete all copies on
> your system and destroy any hard copies. 

In general, you should not send notices like this to mailing lists,
since they make no sense there, and use a different email address to
send to mailing lists if your job requires these kinds of notices.
-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

      reply	other threads:[~2020-02-28 22:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <EC87F304-78E6-40C4-840C-45F118902079@webssup.com>
     [not found] ` <16B44F67-E85E-4D87-A8EC-18ED1B35DB41@webssup.com>
2020-01-09  3:18   ` Dropbox do not sync particular files after using git push On Luk
2020-01-13  2:56     ` On Luk
2020-02-24  3:59       ` On Luk
2020-02-28 22:40         ` brian m. carlson [this message]

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=20200228224011.GB9290@camp.crustytoothpaste.net \
    --to=sandals@crustytoothpaste.net \
    --cc=git@vger.kernel.org \
    --cc=on.luk@webssup.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).