i3 / i3status

Generates status bar to use with i3bar, dzen2 or xmobar
BSD 3-Clause "New" or "Revised" License
602 stars 254 forks source link

Fix detection of i3status version from git when using a worktree. #449

Closed devkev closed 2 years ago

devkev commented 3 years ago

I tried to build i3status in a worktree of my clone of the git repo, and was surprised when autoconf reported the version was "not-git". The cause is configure.ac checking for a .git directory in the srcdir. However, when using worktrees, .git is a text file that contains info about where the actual .git directory can be found. The fix is, of course, to adjust the test to allow .git to be a file.

orestisfl commented 2 years ago

Closing because we moved to meson