29,854 reputation
273110
bio website alerque.com
location Izmir, Turkey
age 32
visits member for 4 years, 2 months
seen 16 hours ago

I am a scripting language connoisseur, regular expression aficionado, network geek, general lover of Linux and a frequent contributor to open source software. I transitioned to programming from other work because I was too busy automating my own work environment to actually do the other work. I have a hobby interest in cartography. For more see my personal site. Most importantly, my life is defined by the grace of God given to men through Jesus Christ. It is my ambition that everything I do would reflect His glory and point people towards Him.


Aug
12
awarded  Nice Answer
Aug
8
awarded  Enlightened
Aug
8
awarded  Nice Answer
Aug
6
awarded  Good Question
Aug
4
comment How did `git pull` eat my homework?
@Alexander The pull operation is normal (other that being a rebase rather than a merge). The notice about a forced update is indicating that the repo I'm pulling from had a force push that reset it from a different position than the local repo last saw it at. This is normal because I'm syncing actively developed and frequently rebased material between my own computers, not a public branch that other developers will see.
Jul
31
awarded  Enlightened
Jul
31
awarded  Nice Answer
Jul
26
awarded  Nice Question
Jul
25
comment How did `git pull` eat my homework?
@Gilles The project was imported from subversion so it has some git-svn stuff in history but that was a one shot deal and svn is no longer involved. I was pulling from a native git repo (gitlab over ssh). No, there is no .git file upstream or anywhere in history.
Jul
24
comment How did `git pull` eat my homework?
@Anthon Git has 'porcelain' commands that make retrieving meta info like that fairly straightforward (and fast). I've been using this shell implementation for months, and it's a widely used implementation. I don't think that's the culprit. From the terminal history is seems apparent that the git command aborted (took it's ball and went home) during the rebase. There should have been more output from git for that operation before it turned things back over to the shell. The vcs_info() routine would not have even gotten called until after it returned.
Jul
24
comment How did `git pull` eat my homework?
@FaheemMitha Asking this question wouldn't make much sense if I could. I only have the one instance to go on. As mentioned in the question I did try using other repos on this machine and don't see any problems.
Jul
24
comment How did `git pull` eat my homework?
@Patrick As I explained in the question already, no .git does not exist. Nothing does—what used to be the git root directory has nothing in it at all.
Jul
24
comment How did `git pull` eat my homework?
@FaheemMitha I already mentioned in the question that the only thing lost will be some items in stash, but that's not a big deal. I still want to know how this happened and make it not do so again!
Jul
24
revised How did `git pull` eat my homework?
add version data and note about file system
Jul
24
comment How did `git pull` eat my homework?
@UlrichDangel No NFS, virus scanner, backup scripts or cleanup is involved. It's a local EXT4 file system on LUKS on LVM on local SATA drives. Cron is empty.
Jul
24
asked How did `git pull` eat my homework?
Jul
22
comment Pasting X selection (not clipboard contents) with keyboard
@Luchostein Thanks for the suggested edit, sorry your actual revision got mistakenly rejected so you aren't properly credited but I did go back and implement the addition.
Jul
22
revised Pasting X selection (not clipboard contents) with keyboard
implemented suggested edit from Luchostein that should have been approved, see http://unix.stackexchange.com/review/suggested-edits/55416
Jul
9
answered Configure bash and/or vim to execute source ~/.bashrc everytime I finish editing it
Jul
3
awarded  Notable Question